Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.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: translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 114.2 kB / 16.42 MB, free: 6.5 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.00175/0.00175, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.43/1.43, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6726/0.6726, allocations: 91.19 MB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 75.88 kB / 0.5175 GB, free: 4.109 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2845, allocations: 67.69 MB / 0.5836 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.03217/0.3168, allocations: 39.36 MB / 0.6221 GB, free: 6.629 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009962/0.3267, allocations: 8.658 MB / 0.6305 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007996/0.3276, allocations: 47.69 kB / 0.6306 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.3288, allocations: 0.5278 MB / 0.6311 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.3316, allocations: 1.332 MB / 0.6324 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.3337, allocations: 0.8931 MB / 0.6332 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.3356, allocations: 1.967 MB / 0.6352 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.336, allocations: 256 kB / 0.6354 GB, free: 8.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.3379, allocations: 1.148 MB / 0.6365 GB, free: 7.742 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009111/0.3388, allocations: 0.7233 MB / 0.6372 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.339, allocations: 99.98 kB / 0.6373 GB, free: 6.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.3415, allocations: 0.8504 MB / 0.6382 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.3418, allocations: 254.9 kB / 0.6384 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005638/0.3424, allocations: 0.6295 MB / 0.639 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.3447, allocations: 1.831 MB / 0.6408 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3448, allocations: 0 / 0.6408 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3448, allocations: 0 / 0.6408 GB, free: 3.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.3448, allocations: 0 / 0.6408 GB, free: 3.352 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002904/0.3477, allocations: 1.688 MB / 0.6425 GB, free: 1.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3477, allocations: 12.03 kB / 0.6425 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/0.3482, allocations: 152 kB / 0.6426 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.3495, allocations: 0.8324 MB / 0.6434 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-05/0.3496, allocations: 95.69 kB / 0.6435 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.3497, allocations: 91.95 kB / 0.6436 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.3514, allocations: 0.9917 MB / 0.6446 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.3514, allocations: 0 / 0.6446 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.3515, allocations: 40 kB / 0.6446 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.3515, allocations: 20 kB / 0.6446 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.3532, allocations: 0.8861 MB / 0.6455 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006047/0.3592, allocations: 4.621 MB / 0.65 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.3613, allocations: 1.002 MB / 0.651 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008095/0.3621, allocations: 470.3 kB / 0.6514 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00391/0.3661, allocations: 2.995 MB / 0.6544 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.3661, allocations: 47 kB / 0.6544 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=99): time 2.474e-06/0.3661, allocations: 0 / 0.6544 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112): time 0.009774/0.3759, allocations: 4.279 MB / 0.6586 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.376, allocations: 94.09 kB / 0.6587 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008983/0.3769, allocations: 0.7556 MB / 0.6594 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/0.377, allocations: 45.7 kB / 0.6595 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.3773, allocations: 481.2 kB / 0.6599 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.3776, allocations: 412.4 kB / 0.6603 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.3779, allocations: 182.9 kB / 0.6605 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.3782, allocations: 349.9 kB / 0.6608 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008903/0.3791, allocations: 378.4 kB / 0.6612 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009871/0.3801, allocations: 0.5405 MB / 0.6617 GB, free: 12.68 MB / 0.5137 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.382, allocations: 1.065 MB / 0.6627 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.382, allocations: 4 kB / 0.6627 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003283/0.3853, allocations: 1.466 MB / 0.6642 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3853, allocations: 6.812 kB / 0.6642 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.3854, allocations: 8 kB / 0.6642 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.3866, allocations: 339 kB / 0.6645 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/0.3874, allocations: 195.7 kB / 0.6647 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.398, allocations: 12.6 MB / 0.677 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007515/0.3988, allocations: 47.97 kB / 0.6771 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.3989, allocations: 48.05 kB / 0.6771 GB, free: 11.67 MB / 0.5294 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (110): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005183/0.3994, allocations: 251.7 kB / 0.6773 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.3997, allocations: 119.2 kB / 0.6774 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/0.4034, allocations: 1.609 MB / 0.679 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.4034, allocations: 7.969 kB / 0.679 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.4035, allocations: 4 kB / 0.679 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.4037, allocations: 180.3 kB / 0.6792 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.4039, allocations: 27.94 kB / 0.6792 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/0.4046, allocations: 51.95 kB / 0.6793 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.4048, allocations: 96.83 kB / 0.6794 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004609/0.4094, allocations: 1.64 MB / 0.681 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003283/0.4127, allocations: 1.88 MB / 0.6828 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009087/0.4137, allocations: 491.7 kB / 0.6833 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007499/0.4144, allocations: 0.5304 MB / 0.6838 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of Backend: time 8.61e-07/0.4144, allocations: 0 / 0.6838 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004144/0.4186, allocations: 2.194 MB / 0.6859 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004293/0.4229, allocations: 3.086 MB / 0.689 GB, free: 15.22 MB / 0.545 GB Notification: Performance of Templates: time 0.03719/0.4601, allocations: 24.22 MB / 0.7126 GB, free: 7.168 MB / 0.5606 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches