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.001304/0.001304, allocations: 116.1 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.001323/0.001323, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.341/1.341, 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.692/0.692, allocations: 91.18 MB / 382.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 79.89 kB / 0.5175 GB, free: 4.105 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.294, allocations: 67.68 MB / 0.5836 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.03199/0.326, allocations: 39.38 MB / 0.6221 GB, free: 6.648 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009995/0.336, allocations: 8.662 MB / 0.6305 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009376/0.337, allocations: 39.81 kB / 0.6306 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.3383, allocations: 0.5277 MB / 0.6311 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.3414, allocations: 1.324 MB / 0.6324 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.3436, allocations: 0.8896 MB / 0.6332 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.3457, allocations: 1.965 MB / 0.6352 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003813/0.3461, allocations: 271.8 kB / 0.6354 GB, free: 8.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.3483, allocations: 1.136 MB / 0.6365 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008245/0.3491, allocations: 0.7194 MB / 0.6372 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.3493, allocations: 96 kB / 0.6373 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.3515, allocations: 0.8582 MB / 0.6382 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.3517, allocations: 258.8 kB / 0.6384 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.3523, allocations: 0.6295 MB / 0.639 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.3549, allocations: 1.813 MB / 0.6408 GB, free: 3.395 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3549, allocations: 3.938 kB / 0.6408 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3549, allocations: 0 / 0.6408 GB, free: 3.391 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.3549, allocations: 3.938 kB / 0.6408 GB, free: 3.387 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.003128/0.3581, allocations: 1.643 MB / 0.6424 GB, free: 1.691 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3581, allocations: 12.03 kB / 0.6424 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.3585, allocations: 139.3 kB / 0.6425 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.3598, allocations: 0.8276 MB / 0.6434 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.609e-05/0.36, allocations: 95.7 kB / 0.6434 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.3601, allocations: 91.91 kB / 0.6435 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.3618, allocations: 0.9918 MB / 0.6445 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.3618, allocations: 3.938 kB / 0.6445 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/0.3619, allocations: 43.94 kB / 0.6445 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.3619, allocations: 23.98 kB / 0.6446 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.3635, allocations: 0.8861 MB / 0.6454 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005656/0.3692, allocations: 4.604 MB / 0.6499 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.3713, allocations: 1.01 MB / 0.6509 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007909/0.3721, allocations: 465 kB / 0.6514 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003549/0.3757, allocations: 2.987 MB / 0.6543 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.3757, allocations: 46.94 kB / 0.6543 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=99): time 5.761e-06/0.3757, allocations: 0 / 0.6543 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112): time 0.0098/0.3855, allocations: 4.249 MB / 0.6585 GB, free: 120 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3856, allocations: 98.05 kB / 0.6586 GB, free: 4 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.3865, allocations: 0.7555 MB / 0.6593 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.221e-05/0.3866, allocations: 49.7 kB / 0.6594 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.387, allocations: 468.6 kB / 0.6598 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.3872, allocations: 390.3 kB / 0.6602 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.3875, allocations: 182.9 kB / 0.6603 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3876, allocations: 353.9 kB / 0.6607 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008117/0.3885, allocations: 378.5 kB / 0.661 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009322/0.3894, allocations: 0.5366 MB / 0.6616 GB, free: 12.83 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.001906/0.3913, allocations: 1.061 MB / 0.6626 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3913, allocations: 4 kB / 0.6626 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003187/0.3945, allocations: 1.465 MB / 0.664 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3946, allocations: 4 kB / 0.664 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.3946, allocations: 8.062 kB / 0.6641 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.3957, allocations: 347 kB / 0.6644 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007884/0.3965, allocations: 191.7 kB / 0.6646 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009436/0.406, allocations: 12.59 MB / 0.6769 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007969/0.4068, allocations: 39.98 kB / 0.6769 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.772e-05/0.4069, allocations: 48.05 kB / 0.6769 GB, free: 11.84 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.0004669/0.4074, allocations: 260.3 kB / 0.6772 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.4076, allocations: 110.6 kB / 0.6773 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.4113, allocations: 1.601 MB / 0.6789 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.4113, allocations: 7.984 kB / 0.6789 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.4113, allocations: 4 kB / 0.6789 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.4115, allocations: 179.6 kB / 0.679 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.4117, allocations: 27.94 kB / 0.6791 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007418/0.4124, allocations: 51.95 kB / 0.6791 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.4126, allocations: 96.89 kB / 0.6792 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004553/0.4172, allocations: 1.643 MB / 0.6808 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003264/0.4205, allocations: 1.875 MB / 0.6826 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008945/0.4214, allocations: 483.7 kB / 0.6831 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007005/0.4221, allocations: 0.5265 MB / 0.6836 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of Backend: time 6.62e-07/0.4221, allocations: 0 / 0.6836 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004078/0.4262, allocations: 2.178 MB / 0.6857 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of SimCode: time 0.00419/0.4304, allocations: 3.066 MB / 0.6887 GB, free: 15.46 MB / 0.545 GB Notification: Performance of Templates: time 0.03837/0.4688, allocations: 24.21 MB / 0.7124 GB, free: 7.406 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