Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.001417/0.001417, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001567/0.001567, allocations: 214.6 kB / 22.99 MB, free: 4.984 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.501/3.501, allocations: 0.49 GB / 0.7959 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [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.002153/0.002153, allocations: 68.16 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4344, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2167/0.6511, allocations: 143.9 MB / 1.468 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006974/0.6581, allocations: 4.239 MB / 1.472 GB, free: 12.25 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005835/0.6586, allocations: 19.81 kB / 1.472 GB, free: 12.23 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.6592, allocations: 123.1 kB / 1.472 GB, free: 12.11 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.6611, allocations: 0.5601 MB / 1.472 GB, free: 11.55 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.6636, allocations: 0.7973 MB / 1.473 GB, free: 10.75 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009601/0.6645, allocations: 0.5807 MB / 1.474 GB, free: 10.17 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.665, allocations: 177.3 kB / 1.474 GB, free: 9.988 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.667, allocations: 0.6617 MB / 1.475 GB, free: 9.324 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008248/0.6678, allocations: 318.8 kB / 1.475 GB, free: 9.012 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.6679, allocations: 20 kB / 1.475 GB, free: 8.992 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.67, allocations: 0.8648 MB / 1.476 GB, free: 8.125 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.6702, allocations: 87.72 kB / 1.476 GB, free: 8.039 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.6703, allocations: 107.5 kB / 1.476 GB, free: 7.934 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.6715, allocations: 0.6815 MB / 1.477 GB, free: 7.25 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.6715, allocations: 3.938 kB / 1.477 GB, free: 7.246 MB / 1.17 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6715, allocations: 4 kB / 1.477 GB, free: 7.242 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.6716, allocations: 0 / 1.477 GB, free: 7.242 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001007/0.6726, allocations: 0.5313 MB / 1.477 GB, free: 6.68 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.6726, allocations: 12.03 kB / 1.477 GB, free: 6.668 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007405/0.6733, allocations: 79.69 kB / 1.477 GB, free: 6.59 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.6738, allocations: 229.7 kB / 1.477 GB, free: 6.34 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.6738, allocations: 12 kB / 1.477 GB, free: 6.328 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.6739, allocations: 20 kB / 1.477 GB, free: 6.309 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/0.6744, allocations: 292.1 kB / 1.478 GB, free: 5.996 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.6745, allocations: 0 / 1.478 GB, free: 5.996 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.6745, allocations: 11.98 kB / 1.478 GB, free: 5.984 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.6745, allocations: 7.938 kB / 1.478 GB, free: 5.977 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.675, allocations: 212.1 kB / 1.478 GB, free: 5.77 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.6767, allocations: 1.097 MB / 1.479 GB, free: 4.609 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.677, allocations: 173 kB / 1.479 GB, free: 4.395 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.6773, allocations: 112.2 kB / 1.479 GB, free: 4.27 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007129/0.678, allocations: 99.88 kB / 1.479 GB, free: 4.172 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.678, allocations: 42.69 kB / 1.479 GB, free: 4.121 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.678, allocations: 0 / 1.479 GB, free: 4.121 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.000881/0.6789, allocations: 273.2 kB / 1.48 GB, free: 3.848 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.679, allocations: 158.2 kB / 1.48 GB, free: 3.656 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.6793, allocations: 200.2 kB / 1.48 GB, free: 3.453 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.6793, allocations: 34.19 kB / 1.48 GB, free: 3.414 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.6795, allocations: 160.3 kB / 1.48 GB, free: 3.254 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.6796, allocations: 47.64 kB / 1.48 GB, free: 3.207 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6797, allocations: 41.66 kB / 1.48 GB, free: 3.16 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6798, allocations: 330.8 kB / 1.481 GB, free: 2.828 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.68, allocations: 71.88 kB / 1.481 GB, free: 2.758 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.6803, allocations: 253.5 kB / 1.481 GB, free: 2.457 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.6807, allocations: 219.5 kB / 1.481 GB, free: 2.215 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6807, allocations: 0 / 1.481 GB, free: 2.215 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005538/0.6813, allocations: 241.4 kB / 1.481 GB, free: 1.973 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.6813, allocations: 4 kB / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6813, allocations: 4 kB / 1.481 GB, free: 1.965 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.6813, allocations: 0 / 1.481 GB, free: 1.965 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.6816, allocations: 39.97 kB / 1.481 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6816, allocations: 3.938 kB / 1.481 GB, free: 1.922 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.6817, allocations: 27.88 kB / 1.481 GB, free: 1.895 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.6818, allocations: 8 kB / 1.481 GB, free: 1.887 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001617/0.6819, allocations: 149.9 kB / 1.482 GB, free: 1.73 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.6821, allocations: 27.84 kB / 1.482 GB, free: 1.703 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.6826, allocations: 181.5 kB / 1.482 GB, free: 1.512 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6826, allocations: 4 kB / 1.482 GB, free: 1.508 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6826, allocations: 0 / 1.482 GB, free: 1.508 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6826, allocations: 384 / 1.482 GB, free: 1.508 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.6837, allocations: 0.7804 MB / 1.483 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6837, allocations: 160 / 1.483 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.6838, allocations: 27.98 kB / 1.483 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.6838, allocations: 7.938 kB / 1.483 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.6838, allocations: 0 / 1.483 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.6838, allocations: 7.938 kB / 1.483 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6838, allocations: 7.922 kB / 1.483 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00062/0.6845, allocations: 327.6 kB / 1.483 GB, free: 276 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.6845, allocations: 23.89 kB / 1.483 GB, free: 252 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.6846, allocations: 19.95 kB / 1.483 GB, free: 232 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.6847, allocations: 11.92 kB / 1.483 GB, free: 220 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.6848, allocations: 11.98 kB / 1.483 GB, free: 208 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.6848, allocations: 4.047 kB / 1.483 GB, free: 204 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002019/0.685, allocations: 176.5 kB / 1.483 GB, free: 28 kB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.685, allocations: 0 / 1.483 GB, free: 28 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005437/0.6855, allocations: 103.8 kB / 1.483 GB, free: 15.92 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.0004585/0.686, allocations: 208.1 kB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004322/0.6864, allocations: 143.8 kB / 1.484 GB, free: 15.57 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6864, allocations: 4 kB / 1.484 GB, free: 15.57 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.6866, allocations: 60.7 kB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005653/0.6872, allocations: 78.92 kB / 1.484 GB, free: 15.43 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009506/0.6881, allocations: 496.1 kB / 1.484 GB, free: 14.91 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.6883, allocations: 153.8 kB / 1.484 GB, free: 14.73 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.6885, allocations: 49.55 kB / 1.484 GB, free: 14.69 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.6885, allocations: 19.44 kB / 1.484 GB, free: 14.67 MB / 1.186 GB Notification: Performance of SimCode: time 2.9e-07/0.6885, allocations: 0 / 1.484 GB, free: 14.67 MB / 1.186 GB Notification: Performance of Templates: time 0.01031/0.6988, allocations: 4.738 MB / 1.489 GB, free: 10.01 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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: 10.363462462002644]