Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_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.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001094/0.001094, allocations: 197.7 kB / 16.14 MB, free: 6.66 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6474/0.6474, allocations: 89.52 MB / 379.5 MB, free: 11.28 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 76.67 kB / 457.7 MB, free: 23.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1055, allocations: 67.31 MB / 0.5127 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4081/0.5136, allocations: 200 MB / 0.708 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.5282, allocations: 15.09 MB / 0.7227 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006484/0.5288, allocations: 23.88 kB / 0.7227 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.53, allocations: 457.5 kB / 0.7232 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.5325, allocations: 1.132 MB / 0.7243 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.5354, allocations: 1.26 MB / 0.7255 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001195/0.5366, allocations: 1.366 MB / 0.7268 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.537, allocations: 237.1 kB / 0.7271 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.5385, allocations: 0.9811 MB / 0.728 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004164/0.539, allocations: 481.8 kB / 0.7285 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.249e-05/0.5391, allocations: 55.94 kB / 0.7285 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.5434, allocations: 2.702 MB / 0.7312 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.5436, allocations: 167.3 kB / 0.7313 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.544, allocations: 445.6 kB / 0.7318 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.5462, allocations: 1.792 MB / 0.7335 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5463, allocations: 8 kB / 0.7335 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.62e-07/0.5463, allocations: 0 / 0.7335 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.5463, allocations: 0 / 0.7335 GB, free: 0.9219 MB / 0.5294 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.00234/0.5486, allocations: 1.396 MB / 0.7349 GB, free: 15.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.5487, allocations: 12.03 kB / 0.7349 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.5488, allocations: 126.4 kB / 0.735 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.5504, allocations: 218.7 kB / 0.7352 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006592/0.551, allocations: 0.5216 MB / 0.7357 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.5512, allocations: 192.6 kB / 0.7359 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.5514, allocations: 72 kB / 0.736 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.5528, allocations: 0.8297 MB / 0.7368 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.5529, allocations: 0 / 0.7368 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/0.5529, allocations: 28 kB / 0.7368 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.553, allocations: 20 kB / 0.7368 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.5543, allocations: 0.6519 MB / 0.7375 GB, free: 12.73 MB / 0.545 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.003731/0.5581, allocations: 3.155 MB / 0.7406 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.5593, allocations: 0.6005 MB / 0.7411 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006583/0.56, allocations: 346.9 kB / 0.7415 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/0.5606, allocations: 0.9069 MB / 0.7424 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.5606, allocations: 39.12 kB / 0.7424 GB, free: 7.184 MB / 0.545 GB Notification: Performance of pre-optimization done (n=58): time 1.824e-06/0.5606, allocations: 0 / 0.7424 GB, free: 7.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=58): time 0.00446/0.5651, allocations: 1.659 MB / 0.744 GB, free: 5.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.5651, allocations: 63.91 kB / 0.7441 GB, free: 5.379 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005761/0.5657, allocations: 0.5226 MB / 0.7446 GB, free: 4.848 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.5658, allocations: 33.7 kB / 0.7446 GB, free: 4.809 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.566, allocations: 360.2 kB / 0.745 GB, free: 4.453 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.5662, allocations: 209 kB / 0.7452 GB, free: 4.246 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.5664, allocations: 118.1 kB / 0.7453 GB, free: 4.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5665, allocations: 374.8 kB / 0.7456 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/0.5671, allocations: 257 kB / 0.7459 GB, free: 3.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.5677, allocations: 308.6 kB / 0.7462 GB, free: 3.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.5689, allocations: 0.5484 MB / 0.7467 GB, free: 2.633 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.569, allocations: 0 / 0.7467 GB, free: 2.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002581/0.5715, allocations: 1.004 MB / 0.7477 GB, free: 1.609 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5716, allocations: 8 kB / 0.7477 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5716, allocations: 0 / 0.7477 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007289/0.5723, allocations: 234.3 kB / 0.7479 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/0.573, allocations: 147.8 kB / 0.7481 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005092/0.5781, allocations: 4.747 MB / 0.7527 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.5787, allocations: 79.53 kB / 0.7528 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/0.5788, allocations: 39.92 kB / 0.7528 GB, free: 11.96 MB / 0.5606 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.0002787/0.5791, allocations: 193.7 kB / 0.753 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.5792, allocations: 67.16 kB / 0.7531 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.5824, allocations: 1.383 MB / 0.7544 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.5824, allocations: 8 kB / 0.7544 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.5825, allocations: 0 / 0.7544 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5825, allocations: 7.984 kB / 0.7544 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003818/0.5863, allocations: 2.036 MB / 0.7564 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5863, allocations: 0 / 0.7564 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/0.587, allocations: 136 kB / 0.7565 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006547/0.5877, allocations: 242.2 kB / 0.7568 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.5877, allocations: 19.98 kB / 0.7568 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004907/0.5926, allocations: 4.745 MB / 0.7614 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.5927, allocations: 4 kB / 0.7614 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/0.5958, allocations: 1.377 MB / 0.7628 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.5961, allocations: 196.1 kB / 0.763 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.5962, allocations: 16 kB / 0.763 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005116/0.5967, allocations: 47.89 kB / 0.763 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.5969, allocations: 68.17 kB / 0.7631 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.597, allocations: 31.98 kB / 0.7631 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004297/0.5974, allocations: 390.8 kB / 0.7635 GB, free: 428 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5974, allocations: 0 / 0.7635 GB, free: 428 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001042/0.5985, allocations: 383.3 kB / 0.7639 GB, free: 44 kB / 0.5606 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.004346/0.6028, allocations: 2.351 MB / 0.7662 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002238/0.6051, allocations: 1.065 MB / 0.7672 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6051, allocations: 0 / 0.7672 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.6066, allocations: 0.7916 MB / 0.768 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009702/0.6075, allocations: 182 kB / 0.7681 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.6186, allocations: 7 MB / 0.775 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.6191, allocations: 0.938 MB / 0.7759 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009991/0.6201, allocations: 432.9 kB / 0.7763 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.6206, allocations: 335.3 kB / 0.7766 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of SimCode: time 7.22e-07/0.6206, allocations: 0 / 0.7766 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.6567, allocations: 22.71 MB / 0.7988 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/0.657, allocations: 292.8 kB / 0.7991 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/2.934, allocations: 0 / 0.7991 GB, free: 11.88 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches