Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.001731/0.001731, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001927/0.001927, allocations: 211.7 kB / 22.24 MB, free: 5.242 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.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 3.415/3.415, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 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.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [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.002515/0.002515, allocations: 65.12 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4377, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2086/0.6463, allocations: 142.2 MB / 1.503 GB, free: 14.81 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006592/0.6529, allocations: 4.186 MB / 1.507 GB, free: 10.62 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/0.6533, allocations: 15.88 kB / 1.507 GB, free: 10.6 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.6539, allocations: 131.1 kB / 1.507 GB, free: 10.47 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.6549, allocations: 338.5 kB / 1.507 GB, free: 10.14 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008923/0.6558, allocations: 285.2 kB / 1.508 GB, free: 9.867 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007767/0.6566, allocations: 0.5651 MB / 1.508 GB, free: 9.301 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.6569, allocations: 167.1 kB / 1.508 GB, free: 9.133 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.6587, allocations: 0.6617 MB / 1.509 GB, free: 8.469 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.6591, allocations: 195.2 kB / 1.509 GB, free: 8.277 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.6591, allocations: 16 kB / 1.509 GB, free: 8.262 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.6594, allocations: 79.88 kB / 1.509 GB, free: 8.184 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.6595, allocations: 95.72 kB / 1.509 GB, free: 8.09 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.6597, allocations: 99.52 kB / 1.509 GB, free: 7.992 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.6601, allocations: 294.8 kB / 1.51 GB, free: 7.703 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6601, allocations: 8 kB / 1.51 GB, free: 7.695 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.205e-06/0.6601, allocations: 0 / 1.51 GB, free: 7.695 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.6602, allocations: 0 / 1.51 GB, free: 7.695 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001013/0.6612, allocations: 468.8 kB / 1.51 GB, free: 7.207 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.6612, allocations: 8.031 kB / 1.51 GB, free: 7.199 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.842e-05/0.6613, allocations: 35.69 kB / 1.51 GB, free: 7.164 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.6618, allocations: 237.4 kB / 1.51 GB, free: 6.906 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.6618, allocations: 16 kB / 1.51 GB, free: 6.891 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.6619, allocations: 16 kB / 1.51 GB, free: 6.875 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.6624, allocations: 261.9 kB / 1.511 GB, free: 6.582 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.6624, allocations: 0 / 1.511 GB, free: 6.582 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.6624, allocations: 11.94 kB / 1.511 GB, free: 6.57 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.6624, allocations: 4 kB / 1.511 GB, free: 6.566 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/0.6628, allocations: 157.2 kB / 1.511 GB, free: 6.414 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.6643, allocations: 1.231 MB / 1.512 GB, free: 5.113 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.6646, allocations: 175.7 kB / 1.512 GB, free: 4.887 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.6648, allocations: 93.05 kB / 1.512 GB, free: 4.777 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/0.6652, allocations: 47.88 kB / 1.512 GB, free: 4.73 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.6652, allocations: 34.56 kB / 1.512 GB, free: 4.688 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.6652, allocations: 0 / 1.512 GB, free: 4.688 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0006633/0.6659, allocations: 213.4 kB / 1.513 GB, free: 4.473 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.666, allocations: 183.9 kB / 1.513 GB, free: 4.25 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.6663, allocations: 203.8 kB / 1.513 GB, free: 4.043 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.6663, allocations: 25.7 kB / 1.513 GB, free: 4.012 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.6665, allocations: 160.2 kB / 1.513 GB, free: 3.852 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.6665, allocations: 44.38 kB / 1.513 GB, free: 3.809 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.6666, allocations: 33.7 kB / 1.513 GB, free: 3.77 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.6668, allocations: 330.8 kB / 1.514 GB, free: 3.438 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.667, allocations: 51.89 kB / 1.514 GB, free: 3.387 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.6672, allocations: 225.5 kB / 1.514 GB, free: 3.117 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.6676, allocations: 158.7 kB / 1.514 GB, free: 2.938 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6676, allocations: 0 / 1.514 GB, free: 2.938 MB / 1.201 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003898/0.668, allocations: 181.4 kB / 1.514 GB, free: 2.754 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.668, allocations: 4 kB / 1.514 GB, free: 2.75 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.668, allocations: 12.16 kB / 1.514 GB, free: 2.738 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.668, allocations: 3.984 kB / 1.514 GB, free: 2.734 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.6681, allocations: 31.92 kB / 1.514 GB, free: 2.703 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.6682, allocations: 7.984 kB / 1.514 GB, free: 2.695 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.6683, allocations: 23.88 kB / 1.514 GB, free: 2.672 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.6683, allocations: 11.94 kB / 1.514 GB, free: 2.66 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 0.0001639/0.6685, allocations: 146.9 kB / 1.514 GB, free: 2.508 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.6686, allocations: 19.91 kB / 1.514 GB, free: 2.488 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.6689, allocations: 126.7 kB / 1.514 GB, free: 2.355 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.669, allocations: 3.984 kB / 1.514 GB, free: 2.352 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.669, allocations: 4 kB / 1.514 GB, free: 2.348 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.669, allocations: 0 / 1.514 GB, free: 2.348 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/0.6699, allocations: 0.6985 MB / 1.515 GB, free: 1.594 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.6699, allocations: 4.125 kB / 1.515 GB, free: 1.59 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.67, allocations: 27.98 kB / 1.515 GB, free: 1.562 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.67, allocations: 12.14 kB / 1.515 GB, free: 1.551 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.6701, allocations: 0 / 1.515 GB, free: 1.551 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.6701, allocations: 7.938 kB / 1.515 GB, free: 1.543 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6701, allocations: 0 / 1.515 GB, free: 1.543 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.6707, allocations: 339.4 kB / 1.516 GB, free: 1.18 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.6707, allocations: 23.89 kB / 1.516 GB, free: 1.156 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.6707, allocations: 4 kB / 1.516 GB, free: 1.152 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6709, allocations: 12.06 kB / 1.516 GB, free: 1.141 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.6709, allocations: 11.98 kB / 1.516 GB, free: 1.129 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.6709, allocations: 4 kB / 1.516 GB, free: 1.125 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001435/0.6711, allocations: 152.5 kB / 1.516 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6711, allocations: 0 / 1.516 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003745/0.6715, allocations: 63.83 kB / 1.516 GB, free: 0.9141 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0002539/0.6717, allocations: 123.1 kB / 1.516 GB, free: 0.7852 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003875/0.6721, allocations: 128 kB / 1.516 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6721, allocations: 0 / 1.516 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.6722, allocations: 55.89 kB / 1.516 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.6728, allocations: 65.16 kB / 1.516 GB, free: 0.543 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.6739, allocations: 476.4 kB / 1.517 GB, free: 32 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.6742, allocations: 149.8 kB / 1.517 GB, free: 15.87 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.6743, allocations: 41.44 kB / 1.517 GB, free: 15.83 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.6744, allocations: 27.38 kB / 1.517 GB, free: 15.8 MB / 1.217 GB Notification: Performance of SimCode: time 5.21e-07/0.6744, allocations: 0 / 1.517 GB, free: 15.8 MB / 1.217 GB Notification: Performance of Templates: time 0.008019/0.6824, allocations: 3.03 MB / 1.52 GB, free: 12.84 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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: 9.683823511004448]