Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007306/0.007306, allocations: 100.8 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 187.2 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7492/0.7492, allocations: 91.19 MB / 381.7 MB, free: 9.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 87.86 kB / 0.5164 GB, free: 9.508 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1256, allocations: 67.69 MB / 0.5825 GB, free: 5.742 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4918/0.6175, allocations: 201.8 MB / 0.7796 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.6342, allocations: 14.83 MB / 0.7941 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009417/0.6352, allocations: 39.75 kB / 0.7941 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.6366, allocations: 0.5161 MB / 0.7946 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.6402, allocations: 1.302 MB / 0.7959 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.6439, allocations: 1.395 MB / 0.7972 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.6456, allocations: 1.347 MB / 0.7985 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004484/0.646, allocations: 269.8 kB / 0.7988 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.6482, allocations: 1.071 MB / 0.7999 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007909/0.649, allocations: 0.5052 MB / 0.8003 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.6492, allocations: 80 kB / 0.8004 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004959/0.6542, allocations: 2.496 MB / 0.8029 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.6545, allocations: 203.2 kB / 0.8031 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007503/0.6552, allocations: 0.4972 MB / 0.8035 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003901/0.6591, allocations: 1.878 MB / 0.8054 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6592, allocations: 0 / 0.8054 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6592, allocations: 0 / 0.8054 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.582e-05/0.6592, allocations: 0 / 0.8054 GB, free: 3.719 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003221/0.6624, allocations: 1.531 MB / 0.8069 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.6625, allocations: 8.031 kB / 0.8069 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.6626, allocations: 118.5 kB / 0.807 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.6645, allocations: 239.8 kB / 0.8072 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.6661, allocations: 0.7711 MB / 0.808 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.6663, allocations: 184.8 kB / 0.8081 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.6665, allocations: 72 kB / 0.8082 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.6682, allocations: 0.8181 MB / 0.809 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.6683, allocations: 0 / 0.809 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/0.6684, allocations: 32 kB / 0.809 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.6684, allocations: 16 kB / 0.8091 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.6699, allocations: 0.648 MB / 0.8097 GB, free: 15.15 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004456/0.6744, allocations: 3.217 MB / 0.8128 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.6758, allocations: 0.5918 MB / 0.8134 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007254/0.6765, allocations: 350.3 kB / 0.8137 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005619/0.6771, allocations: 0.9069 MB / 0.8146 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.6772, allocations: 39.12 kB / 0.8147 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 2.425e-06/0.6772, allocations: 0 / 0.8147 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.004757/0.6819, allocations: 1.674 MB / 0.8163 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.682, allocations: 59.97 kB / 0.8164 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.6828, allocations: 0.6455 MB / 0.817 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.6828, allocations: 33.7 kB / 0.817 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.6831, allocations: 428.2 kB / 0.8174 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.6833, allocations: 205 kB / 0.8176 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.6835, allocations: 118.2 kB / 0.8177 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6837, allocations: 326 kB / 0.8181 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.6843, allocations: 256.9 kB / 0.8183 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.6849, allocations: 261.6 kB / 0.8185 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.6861, allocations: 0.5272 MB / 0.8191 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6861, allocations: 0 / 0.8191 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002793/0.6889, allocations: 1.012 MB / 0.82 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.689, allocations: 4 kB / 0.8201 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.689, allocations: 0 / 0.8201 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007864/0.6898, allocations: 238.3 kB / 0.8203 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000823/0.6906, allocations: 149.7 kB / 0.8204 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005676/0.6963, allocations: 5.09 MB / 0.8254 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.6969, allocations: 67.53 kB / 0.8255 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.697, allocations: 39.98 kB / 0.8255 GB, free: 13.88 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004122/0.6975, allocations: 211.2 kB / 0.8257 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.6976, allocations: 78.97 kB / 0.8258 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/0.7012, allocations: 1.415 MB / 0.8272 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.7013, allocations: 11.94 kB / 0.8272 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7013, allocations: 0 / 0.8272 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.7013, allocations: 3.984 kB / 0.8272 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00451/0.7058, allocations: 2.09 MB / 0.8292 GB, free: 9.949 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7058, allocations: 0 / 0.8292 GB, free: 9.949 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000736/0.7066, allocations: 143.9 kB / 0.8293 GB, free: 9.809 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007215/0.7073, allocations: 234.3 kB / 0.8296 GB, free: 9.57 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.7074, allocations: 31.92 kB / 0.8296 GB, free: 9.539 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005644/0.7131, allocations: 5.098 MB / 0.8346 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.7131, allocations: 8.031 kB / 0.8346 GB, free: 4.012 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.7165, allocations: 1.41 MB / 0.836 GB, free: 2.562 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.7169, allocations: 207.8 kB / 0.8362 GB, free: 2.34 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.717, allocations: 19.94 kB / 0.8362 GB, free: 2.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.7176, allocations: 43.95 kB / 0.8362 GB, free: 2.277 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.7178, allocations: 52.44 kB / 0.8363 GB, free: 2.227 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.7178, allocations: 31.98 kB / 0.8363 GB, free: 2.195 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005443/0.7184, allocations: 471 kB / 0.8368 GB, free: 1.738 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7184, allocations: 0 / 0.8368 GB, free: 1.738 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001004/0.7194, allocations: 367.3 kB / 0.8371 GB, free: 1.379 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2614/0.9808, allocations: 2.339 MB / 0.8394 GB, free: 226.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002641/0.9834, allocations: 1.067 MB / 0.8404 GB, free: 226.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.309e-06/0.9835, allocations: 0 / 0.8404 GB, free: 226.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.9852, allocations: 0.7991 MB / 0.8412 GB, free: 226 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.9865, allocations: 207.5 kB / 0.8414 GB, free: 226 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/1.001, allocations: 6.986 MB / 0.8482 GB, free: 223.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/1.001, allocations: 0.9906 MB / 0.8492 GB, free: 222.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001057/1.002, allocations: 448.1 kB / 0.8496 GB, free: 222.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006315/1.003, allocations: 403.1 kB / 0.85 GB, free: 222.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.343e-06/1.003, allocations: 3.938 kB / 0.85 GB, free: 222.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06394/1.067, allocations: 25.11 MB / 0.8745 GB, free: 214.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.94, allocations: 10.8 kB / 0.8745 GB, free: 214.4 MB / 0.67 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches