Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_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.006417/0.006417, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.00169/0.00169, allocations: 194.9 kB / 16.67 MB, free: 5.977 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7758/0.7758, allocations: 93.7 MB / 384.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 83.88 kB / 0.5199 GB, free: 6.316 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1464, allocations: 68.26 MB / 0.5866 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5451/0.6916, allocations: 201.8 MB / 0.7837 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0207/0.7123, allocations: 15.06 MB / 0.7984 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009002/0.7133, allocations: 47.69 kB / 0.7985 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.715, allocations: 0.5201 MB / 0.799 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005781/0.7208, allocations: 1.325 MB / 0.8003 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006531/0.7274, allocations: 1.475 MB / 0.8017 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002912/0.7303, allocations: 1.397 MB / 0.8031 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000805/0.7312, allocations: 267.5 kB / 0.8033 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003525/0.7348, allocations: 1.074 MB / 0.8044 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.736, allocations: 0.5053 MB / 0.8049 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.7363, allocations: 76 kB / 0.8049 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007429/0.7437, allocations: 2.617 MB / 0.8075 GB, free: 284 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003638/0.7441, allocations: 207.2 kB / 0.8077 GB, free: 76 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009879/0.7451, allocations: 0.5049 MB / 0.8082 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006366/0.7515, allocations: 1.978 MB / 0.8101 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7515, allocations: 0 / 0.8101 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7516, allocations: 0 / 0.8101 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001219/0.7517, allocations: 0 / 0.8101 GB, free: 13.58 MB / 0.6544 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.004688/0.7564, allocations: 1.614 MB / 0.8117 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.7565, allocations: 12.03 kB / 0.8117 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000258/0.7567, allocations: 119.4 kB / 0.8118 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/0.7599, allocations: 247 kB / 0.8121 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.7624, allocations: 0.7954 MB / 0.8128 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003647/0.7628, allocations: 184.8 kB / 0.813 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.763, allocations: 75.95 kB / 0.8131 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.7659, allocations: 0.8257 MB / 0.8139 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.7659, allocations: 0 / 0.8139 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.7661, allocations: 32 kB / 0.8139 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.7661, allocations: 16 kB / 0.8139 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.7687, allocations: 0.6597 MB / 0.8146 GB, free: 8.871 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.007432/0.7761, allocations: 3.198 MB / 0.8177 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.7786, allocations: 0.6018 MB / 0.8183 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.7799, allocations: 346.4 kB / 0.8186 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.7811, allocations: 0.8952 MB / 0.8195 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.7812, allocations: 47.06 kB / 0.8195 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=58): time 3.446e-06/0.7812, allocations: 0 / 0.8195 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of matching and sorting (n=58): time 0.00843/0.7896, allocations: 1.687 MB / 0.8212 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.7897, allocations: 59.97 kB / 0.8212 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.7912, allocations: 0.6771 MB / 0.8219 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.552e-05/0.7913, allocations: 37.7 kB / 0.8219 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006132/0.792, allocations: 456.8 kB / 0.8224 GB, free: 292 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.7923, allocations: 210.2 kB / 0.8226 GB, free: 80 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/0.7927, allocations: 118.2 kB / 0.8227 GB, free: 15.96 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.7929, allocations: 330 kB / 0.823 GB, free: 15.63 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.7939, allocations: 249 kB / 0.8232 GB, free: 15.38 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.7951, allocations: 320.5 kB / 0.8236 GB, free: 15.06 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.7974, allocations: 0.5483 MB / 0.8241 GB, free: 14.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7974, allocations: 0 / 0.8241 GB, free: 14.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.004609/0.802, allocations: 1.024 MB / 0.8251 GB, free: 13.46 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.8021, allocations: 8 kB / 0.8251 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.8021, allocations: 7.938 kB / 0.8251 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.8034, allocations: 238.2 kB / 0.8253 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.8045, allocations: 143.8 kB / 0.8255 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009683/0.8142, allocations: 5.093 MB / 0.8304 GB, free: 7.551 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000862/0.8152, allocations: 75.62 kB / 0.8305 GB, free: 7.477 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.8154, allocations: 43.98 kB / 0.8306 GB, free: 7.434 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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.0004926/0.8159, allocations: 201.7 kB / 0.8307 GB, free: 7.227 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.8162, allocations: 87.44 kB / 0.8308 GB, free: 7.141 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005729/0.8219, allocations: 1.411 MB / 0.8322 GB, free: 5.715 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.8219, allocations: 4 kB / 0.8322 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.8219, allocations: 7.984 kB / 0.8322 GB, free: 5.703 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.822, allocations: 3.984 kB / 0.8322 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007148/0.8291, allocations: 2.091 MB / 0.8343 GB, free: 3.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.8291, allocations: 0 / 0.8343 GB, free: 3.504 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.8303, allocations: 131.8 kB / 0.8344 GB, free: 3.375 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.8315, allocations: 242.4 kB / 0.8346 GB, free: 3.129 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.8316, allocations: 23.98 kB / 0.8346 GB, free: 3.105 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009905/0.8415, allocations: 5.095 MB / 0.8396 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.8416, allocations: 3.984 kB / 0.8396 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005941/0.8475, allocations: 1.414 MB / 0.841 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007256/0.8483, allocations: 220.3 kB / 0.8412 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.8485, allocations: 23.94 kB / 0.8412 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007817/0.8493, allocations: 31.97 kB / 0.8413 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/0.8496, allocations: 52.36 kB / 0.8413 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.8498, allocations: 31.98 kB / 0.8413 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001068/0.8509, allocations: 495 kB / 0.8418 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8509, allocations: 4 kB / 0.8418 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001279/0.8522, allocations: 395 kB / 0.8422 GB, free: 10.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.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 (50): * Single equations (assignments): 47 * 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.005295/0.8575, allocations: 2.375 MB / 0.8445 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002724/0.8602, allocations: 1.08 MB / 0.8456 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8602, allocations: 4.125 kB / 0.8456 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.8621, allocations: 0.7875 MB / 0.8463 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.8633, allocations: 210.4 kB / 0.8465 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2779/1.141, allocations: 7.209 MB / 0.8536 GB, free: 236.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/1.142, allocations: 0.9987 MB / 0.8546 GB, free: 235.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001298/1.143, allocations: 451.1 kB / 0.855 GB, free: 235.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006652/1.144, allocations: 411.1 kB / 0.8554 GB, free: 235.9 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/1.144, allocations: 0 / 0.8554 GB, free: 235.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07508/1.219, allocations: 25.72 MB / 0.8805 GB, free: 229.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.47, allocations: 3.859 kB / 0.8805 GB, free: 229.1 MB / 0.6856 GB (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches