Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 78.09 kB / 19.76 MB, free: 2.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 157.2 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.85/2.85, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 71.88 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8559, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001769/0.8576, allocations: 0.607 MB / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.8598, allocations: 1.725 MB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.8599, allocations: 1.469 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.8599, allocations: 1.219 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.976e-05/0.8599, allocations: 3.938 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009496/0.8609, allocations: 318.9 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.8611, allocations: 130.5 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.8611, allocations: 3 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.8612, allocations: 43.72 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.8613, allocations: 63.62 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.8613, allocations: 9.469 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005255/0.8618, allocations: 328.5 kB / 1.19 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.8619, allocations: 40.2 kB / 1.19 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.862, allocations: 38.17 kB / 1.19 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.8624, allocations: 286.1 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8624, allocations: 0 / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8624, allocations: 0 / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8624, allocations: 0 / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005993/0.863, allocations: 378.2 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.863, allocations: 9.469 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.8631, allocations: 10.58 kB / 1.191 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.184e-05/0.8631, allocations: 122.5 kB / 1.191 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.8631, allocations: 8.5 kB / 1.191 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.8632, allocations: 12.53 kB / 1.191 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.8635, allocations: 219.9 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.8635, allocations: 1.125 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.8635, allocations: 5.406 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.8635, allocations: 3.5 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.8638, allocations: 186 kB / 1.191 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.864, allocations: 217.4 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.8647, allocations: 390 kB / 1.192 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.8649, allocations: 161.5 kB / 1.192 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.8651, allocations: 40.7 kB / 1.192 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.8652, allocations: 43.36 kB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.8652, allocations: 9.062 kB / 1.192 GB, free: 13.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.0006753/0.8658, allocations: 381.5 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.8659, allocations: 193.7 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.941e-05/0.8659, allocations: 92.3 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.8659, allocations: 31.92 kB / 1.193 GB, free: 12.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.053e-05/0.866, allocations: 80.64 kB / 1.193 GB, free: 12.44 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/0.866, allocations: 104 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.8661, allocations: 56.89 kB / 1.193 GB, free: 12.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.8661, allocations: 321.5 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.8663, allocations: 89.34 kB / 1.193 GB, free: 11.99 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.8665, allocations: 143.4 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.8668, allocations: 261.8 kB / 1.194 GB, free: 11.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8668, allocations: 4.938 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004383/0.8672, allocations: 291.6 kB / 1.194 GB, free: 11.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.8673, allocations: 5.406 kB / 1.194 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.8673, allocations: 2.156 kB / 1.194 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.8673, allocations: 6.656 kB / 1.194 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.8675, allocations: 56.42 kB / 1.194 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.8675, allocations: 6.719 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.506e-05/0.8676, allocations: 17.03 kB / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.8677, allocations: 15.67 kB / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.471e-05/0.8677, allocations: 141.8 kB / 1.194 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.8678, allocations: 12.02 kB / 1.194 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005982/0.8684, allocations: 358.6 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.8684, allocations: 8.281 kB / 1.194 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.8684, allocations: 2.094 kB / 1.194 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.8684, allocations: 3.906 kB / 1.194 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.8686, allocations: 193.2 kB / 1.195 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.8686, allocations: 1.906 kB / 1.195 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.8688, allocations: 51.53 kB / 1.195 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.8688, allocations: 6.156 kB / 1.195 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.8688, allocations: 16.11 kB / 1.195 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.8688, allocations: 3.312 kB / 1.195 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8688, allocations: 5.641 kB / 1.195 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.8693, allocations: 348 kB / 1.195 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.8694, allocations: 44.78 kB / 1.195 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.8694, allocations: 8.047 kB / 1.195 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.8695, allocations: 3.438 kB / 1.195 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.8696, allocations: 24.55 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.8696, allocations: 15.56 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.546e-05/0.8696, allocations: 76.72 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8696, allocations: 4.094 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004985/0.8701, allocations: 99.77 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003493/0.8704, allocations: 198.7 kB / 1.195 GB, free: 10.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004179/0.8709, allocations: 241.8 kB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8709, allocations: 5.062 kB / 1.196 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.8711, allocations: 130.5 kB / 1.196 GB, free: 10.67 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.8712, allocations: 14.59 kB / 1.196 GB, free: 10.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.8718, allocations: 356.1 kB / 1.196 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.8719, allocations: 100.6 kB / 1.196 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.8721, allocations: 105.9 kB / 1.196 GB, free: 10.37 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.8722, allocations: 31.59 kB / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.8722, allocations: 0 / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of Templates: time 0.006426/0.8786, allocations: 2.502 MB / 1.199 GB, free: 10.1 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.597488839994185]