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.00172/0.00172, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002116/0.002116, allocations: 209.5 kB / 23 MB, free: 4.977 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.139/3.139, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] 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.002014/0.002014, allocations: 77.52 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3732, 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.1911/0.5643, allocations: 143.9 MB / 1.468 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005835/0.5701, allocations: 4.222 MB / 1.472 GB, free: 12.27 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003082/0.5704, allocations: 19.81 kB / 1.472 GB, free: 12.25 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.5709, allocations: 123.1 kB / 1.472 GB, free: 12.12 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.5722, allocations: 0.564 MB / 1.472 GB, free: 11.56 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.574, allocations: 0.8062 MB / 1.473 GB, free: 10.75 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000699/0.5747, allocations: 0.5768 MB / 1.474 GB, free: 10.18 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.5751, allocations: 177.3 kB / 1.474 GB, free: 9.996 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.5765, allocations: 0.6656 MB / 1.475 GB, free: 9.328 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/0.5771, allocations: 310.8 kB / 1.475 GB, free: 9.023 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.5771, allocations: 24 kB / 1.475 GB, free: 9 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.5786, allocations: 0.8648 MB / 1.476 GB, free: 8.133 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.5787, allocations: 91.7 kB / 1.476 GB, free: 8.043 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.5788, allocations: 107.5 kB / 1.476 GB, free: 7.938 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009838/0.5798, allocations: 0.6776 MB / 1.477 GB, free: 7.258 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5798, allocations: 3.938 kB / 1.477 GB, free: 7.254 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5798, allocations: 0 / 1.477 GB, free: 7.254 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.5798, allocations: 0 / 1.477 GB, free: 7.254 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.0009479/0.5807, allocations: 0.5275 MB / 1.477 GB, free: 6.695 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5808, allocations: 16.03 kB / 1.477 GB, free: 6.68 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007012/0.5815, allocations: 83.66 kB / 1.477 GB, free: 6.598 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.5819, allocations: 229.7 kB / 1.477 GB, free: 6.348 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.582, allocations: 12 kB / 1.477 GB, free: 6.336 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.582, allocations: 28 kB / 1.478 GB, free: 6.309 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.5826, allocations: 288.1 kB / 1.478 GB, free: 6 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5826, allocations: 0 / 1.478 GB, free: 6 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.5826, allocations: 11.94 kB / 1.478 GB, free: 5.988 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.5826, allocations: 7.938 kB / 1.478 GB, free: 5.98 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.583, allocations: 212.1 kB / 1.478 GB, free: 5.773 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.5846, allocations: 1.101 MB / 1.479 GB, free: 4.609 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.585, allocations: 169 kB / 1.479 GB, free: 4.398 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.5852, allocations: 104.2 kB / 1.479 GB, free: 4.281 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006937/0.5859, allocations: 111.9 kB / 1.479 GB, free: 4.172 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.5859, allocations: 42.69 kB / 1.479 GB, free: 4.121 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.5859, allocations: 0 / 1.479 GB, free: 4.121 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0008457/0.5867, allocations: 269.6 kB / 1.48 GB, free: 3.852 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.5868, allocations: 158.2 kB / 1.48 GB, free: 3.66 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.587, allocations: 200.2 kB / 1.48 GB, free: 3.457 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.5871, allocations: 29.7 kB / 1.48 GB, free: 3.422 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.5872, allocations: 160.3 kB / 1.48 GB, free: 3.262 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.5872, allocations: 47.64 kB / 1.48 GB, free: 3.215 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-05/0.5873, allocations: 45.66 kB / 1.48 GB, free: 3.164 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.5875, allocations: 330.7 kB / 1.481 GB, free: 2.832 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.5876, allocations: 72.06 kB / 1.481 GB, free: 2.762 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.5879, allocations: 249.2 kB / 1.481 GB, free: 2.465 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.5884, allocations: 215.5 kB / 1.481 GB, free: 2.227 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.5884, allocations: 4 kB / 1.481 GB, free: 2.223 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000523/0.5889, allocations: 233.3 kB / 1.481 GB, free: 1.988 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5889, allocations: 8 kB / 1.481 GB, free: 1.98 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5889, allocations: 4.188 kB / 1.481 GB, free: 1.977 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.589, allocations: 8 kB / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.5892, allocations: 35.97 kB / 1.481 GB, free: 1.934 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.5892, allocations: 4 kB / 1.481 GB, free: 1.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.5893, allocations: 23.88 kB / 1.481 GB, free: 1.906 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.5894, allocations: 12 kB / 1.481 GB, free: 1.895 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.0001502/0.5895, allocations: 149.7 kB / 1.482 GB, free: 1.738 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.5897, allocations: 20.23 kB / 1.482 GB, free: 1.719 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.5902, allocations: 193.4 kB / 1.482 GB, free: 1.516 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5902, allocations: 0 / 1.482 GB, free: 1.516 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.5902, allocations: 4 kB / 1.482 GB, free: 1.512 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.5902, allocations: 27.83 kB / 1.482 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.5903, allocations: 7.953 kB / 1.482 GB, free: 1.477 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.5905, allocations: 20.03 kB / 1.482 GB, free: 1.457 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.5906, allocations: 15.97 kB / 1.482 GB, free: 1.441 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005629/0.5911, allocations: 0.5214 MB / 1.482 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007331/0.5918, allocations: 0.6756 MB / 1.483 GB, free: 220 kB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001492/0.592, allocations: 51.89 kB / 1.483 GB, free: 168 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002032/0.5922, allocations: 176.5 kB / 1.483 GB, free: 15.99 MB / 1.186 GB Notification: Performance of Backend: time 6.01e-07/0.5922, allocations: 0 / 1.483 GB, free: 15.99 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.5938, allocations: 382 kB / 1.484 GB, free: 15.61 MB / 1.186 GB Notification: Performance of SimCode: time 0.001407/0.5952, allocations: 0.957 MB / 1.485 GB, free: 14.61 MB / 1.186 GB Notification: Performance of Templates: time 0.01266/0.6079, allocations: 6.972 MB / 1.491 GB, free: 7.711 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 -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: 9.12917799600109]