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.001481/0.001481, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001956/0.001956, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.781 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.468/3.468, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 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.002092/0.002092, allocations: 64 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4349, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2021/0.6369, allocations: 143.9 MB / 1.466 GB, free: 1.484 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00685/0.6438, allocations: 4.232 MB / 1.47 GB, free: 13.25 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00046/0.6443, allocations: 11.88 kB / 1.47 GB, free: 13.23 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.6448, allocations: 131 kB / 1.47 GB, free: 13.11 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.6466, allocations: 0.5679 MB / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.6491, allocations: 0.7962 MB / 1.472 GB, free: 11.74 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009414/0.65, allocations: 0.5807 MB / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004631/0.6505, allocations: 161.4 kB / 1.472 GB, free: 11 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.6524, allocations: 0.6733 MB / 1.473 GB, free: 10.32 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007706/0.6532, allocations: 306.8 kB / 1.473 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.6532, allocations: 16 kB / 1.473 GB, free: 10 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.6551, allocations: 0.8454 MB / 1.474 GB, free: 9.156 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.6552, allocations: 99.7 kB / 1.474 GB, free: 9.059 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.6554, allocations: 103.5 kB / 1.474 GB, free: 8.957 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.6569, allocations: 0.6814 MB / 1.475 GB, free: 8.273 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6569, allocations: 4 kB / 1.475 GB, free: 8.27 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6569, allocations: 0 / 1.475 GB, free: 8.27 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.657, allocations: 0 / 1.475 GB, free: 8.27 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.001076/0.658, allocations: 0.5352 MB / 1.476 GB, free: 7.703 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.6581, allocations: 8.031 kB / 1.476 GB, free: 7.695 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000686/0.6588, allocations: 79.69 kB / 1.476 GB, free: 7.617 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.6593, allocations: 233.7 kB / 1.476 GB, free: 7.363 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.6593, allocations: 19.98 kB / 1.476 GB, free: 7.344 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.6593, allocations: 16 kB / 1.476 GB, free: 7.328 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.6599, allocations: 288.1 kB / 1.476 GB, free: 7.02 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.6599, allocations: 0 / 1.476 GB, free: 7.02 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.6599, allocations: 8 kB / 1.476 GB, free: 7.012 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.6599, allocations: 11.94 kB / 1.476 GB, free: 7 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.6604, allocations: 216.1 kB / 1.476 GB, free: 6.789 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.6621, allocations: 1.105 MB / 1.477 GB, free: 5.621 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.6624, allocations: 165 kB / 1.478 GB, free: 5.414 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.6627, allocations: 112.4 kB / 1.478 GB, free: 5.289 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006601/0.6633, allocations: 99.88 kB / 1.478 GB, free: 5.191 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.6634, allocations: 42.5 kB / 1.478 GB, free: 5.141 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.6634, allocations: 0 / 1.478 GB, free: 5.141 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0008414/0.6642, allocations: 273.7 kB / 1.478 GB, free: 4.867 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.6643, allocations: 162.2 kB / 1.478 GB, free: 4.672 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.6645, allocations: 204.2 kB / 1.479 GB, free: 4.465 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.6646, allocations: 29.7 kB / 1.479 GB, free: 4.43 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.6647, allocations: 160.3 kB / 1.479 GB, free: 4.27 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.6648, allocations: 43.62 kB / 1.479 GB, free: 4.227 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.6649, allocations: 49.66 kB / 1.479 GB, free: 4.172 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.665, allocations: 334.8 kB / 1.479 GB, free: 3.836 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.6652, allocations: 67.94 kB / 1.479 GB, free: 3.77 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.6655, allocations: 240.6 kB / 1.479 GB, free: 3.48 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.666, allocations: 211.5 kB / 1.48 GB, free: 3.246 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.666, allocations: 0 / 1.48 GB, free: 3.246 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005852/0.6666, allocations: 237.3 kB / 1.48 GB, free: 3.008 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.6666, allocations: 11.98 kB / 1.48 GB, free: 2.996 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6666, allocations: 3.938 kB / 1.48 GB, free: 2.992 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.6666, allocations: 4 kB / 1.48 GB, free: 2.988 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.6668, allocations: 39.92 kB / 1.48 GB, free: 2.949 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.6668, allocations: 4 kB / 1.48 GB, free: 2.945 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.667, allocations: 24.12 kB / 1.48 GB, free: 2.922 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.6671, allocations: 12 kB / 1.48 GB, free: 2.91 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.0002228/0.6673, allocations: 156.3 kB / 1.48 GB, free: 2.75 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.6674, allocations: 23.86 kB / 1.48 GB, free: 2.727 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.6679, allocations: 181.9 kB / 1.48 GB, free: 2.535 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6679, allocations: 0 / 1.48 GB, free: 2.535 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.668, allocations: 7.938 kB / 1.48 GB, free: 2.527 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.668, allocations: 3.984 kB / 1.48 GB, free: 2.523 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.6691, allocations: 0.7765 MB / 1.481 GB, free: 1.691 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.6691, allocations: 4 kB / 1.481 GB, free: 1.688 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.6692, allocations: 27.91 kB / 1.481 GB, free: 1.66 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6692, allocations: 0 / 1.481 GB, free: 1.66 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.6692, allocations: 4 kB / 1.481 GB, free: 1.656 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.6692, allocations: 7.938 kB / 1.481 GB, free: 1.648 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6692, allocations: 0 / 1.481 GB, free: 1.648 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/0.6699, allocations: 335.7 kB / 1.481 GB, free: 1.289 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.6699, allocations: 35.81 kB / 1.481 GB, free: 1.254 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.67, allocations: 0 / 1.481 GB, free: 1.254 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.6701, allocations: 15.94 kB / 1.481 GB, free: 1.238 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.6702, allocations: 11.92 kB / 1.481 GB, free: 1.227 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.6702, allocations: 7.984 kB / 1.481 GB, free: 1.219 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001882/0.6704, allocations: 172.5 kB / 1.482 GB, free: 1.051 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6704, allocations: 0 / 1.482 GB, free: 1.051 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005576/0.6709, allocations: 103.8 kB / 1.482 GB, free: 0.9492 MB / 1.17 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.0005706/0.6715, allocations: 211 kB / 1.482 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.000468/0.672, allocations: 148.1 kB / 1.482 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.672, allocations: 64 / 1.482 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.6722, allocations: 59.91 kB / 1.482 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.6728, allocations: 77.48 kB / 1.482 GB, free: 468 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.6738, allocations: 0.4884 MB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.674, allocations: 141.8 kB / 1.483 GB, free: 15.77 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001863/0.6742, allocations: 57.53 kB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.6742, allocations: 27.44 kB / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of SimCode: time 4.91e-07/0.6742, allocations: 0 / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of Templates: time 0.01085/0.6851, allocations: 4.676 MB / 1.487 GB, free: 11.08 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/jenkins/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.048276828601956]