Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009479/0.0009479, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001097/0.001097, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 18.57 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 0.963/0.963, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.774/1.774, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.603e-05, allocations: 8.688 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1593/0.1593, allocations: 143.4 MB / 0.9276 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.1619, allocations: 2.101 MB / 0.9297 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.1622, allocations: 15.88 kB / 0.9297 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.1625, allocations: 75.36 kB / 0.9297 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.1636, allocations: 0.5596 MB / 0.9303 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009729/0.1646, allocations: 434.7 kB / 0.9307 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0005911/0.1652, allocations: 0.5727 MB / 0.9313 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.1655, allocations: 177.4 kB / 0.9314 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004759/0.166, allocations: 307.1 kB / 0.9317 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00052/0.1665, allocations: 291.1 kB / 0.932 GB, free: 7.75 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.1665, allocations: 24 kB / 0.932 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006771/0.1672, allocations: 474.6 kB / 0.9325 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1673, allocations: 95.72 kB / 0.9326 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 8.136e-05/0.1674, allocations: 83.83 kB / 0.9327 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.168, allocations: 466.5 kB / 0.9331 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.168, allocations: 3.938 kB / 0.9331 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.312e-06/0.168, allocations: 0 / 0.9331 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.168, allocations: 0 / 0.9331 GB, free: 6.625 MB / 0.8855 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.0006266/0.1686, allocations: 0.5966 MB / 0.9337 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1687, allocations: 8.031 kB / 0.9337 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004883/0.1692, allocations: 116.5 kB / 0.9338 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.1695, allocations: 229.1 kB / 0.934 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.1695, allocations: 20.31 kB / 0.934 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.1695, allocations: 28.36 kB / 0.9341 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1698, allocations: 231.9 kB / 0.9343 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1698, allocations: 7.938 kB / 0.9343 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.1698, allocations: 4 kB / 0.9343 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1698, allocations: 8 kB / 0.9343 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.17, allocations: 59.89 kB / 0.9344 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1711, allocations: 1.382 MB / 0.9357 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1712, allocations: 163.4 kB / 0.9359 GB, free: 3.551 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.266e-05/0.1713, allocations: 66.42 kB / 0.9359 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/0.1716, allocations: 71.98 kB / 0.936 GB, free: 3.395 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1716, allocations: 45.39 kB / 0.936 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.1716, allocations: 0 / 0.936 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0003532/0.1719, allocations: 133.3 kB / 0.9362 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.172, allocations: 158.2 kB / 0.9363 GB, free: 3.012 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1722, allocations: 249.7 kB / 0.9366 GB, free: 2.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1722, allocations: 33.7 kB / 0.9366 GB, free: 2.711 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1723, allocations: 215 kB / 0.9368 GB, free: 2.496 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1723, allocations: 39.64 kB / 0.9368 GB, free: 2.457 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.1724, allocations: 43.86 kB / 0.9369 GB, free: 2.406 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1725, allocations: 0.5157 MB / 0.9374 GB, free: 1.879 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.65e-05/0.1726, allocations: 15.92 kB / 0.9374 GB, free: 1.863 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1727, allocations: 215.6 kB / 0.9376 GB, free: 1.586 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1728, allocations: 133 kB / 0.9377 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1728, allocations: 4 kB / 0.9377 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002324/0.1731, allocations: 141.3 kB / 0.9379 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1731, allocations: 4 kB / 0.9379 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1731, allocations: 4 kB / 0.9379 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1731, allocations: 4 kB / 0.9379 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1732, allocations: 39.92 kB / 0.9379 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1732, allocations: 4.188 kB / 0.9379 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.35e-05/0.1733, allocations: 23.88 kB / 0.9379 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.1733, allocations: 12 kB / 0.938 GB, free: 1.18 MB / 0.8855 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 9.76e-05/0.1734, allocations: 168.5 kB / 0.9381 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.1735, allocations: 27.84 kB / 0.9381 GB, free: 0.9766 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.1738, allocations: 134.3 kB / 0.9383 GB, free: 0.832 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1738, allocations: 4 kB / 0.9383 GB, free: 0.8281 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1738, allocations: 7.938 kB / 0.9383 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1738, allocations: 4 kB / 0.9383 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.1744, allocations: 0.9185 MB / 0.9392 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1745, allocations: 3.984 kB / 0.9392 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.18e-05/0.1745, allocations: 28.11 kB / 0.9392 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1745, allocations: 7.938 kB / 0.9392 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1745, allocations: 8 kB / 0.9392 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1746, allocations: 3.938 kB / 0.9392 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1746, allocations: 4 kB / 0.9392 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1748, allocations: 305.8 kB / 0.9395 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.1748, allocations: 23.83 kB / 0.9396 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1749, allocations: 8 kB / 0.9396 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.132e-05/0.175, allocations: 7.984 kB / 0.9396 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.175, allocations: 16.02 kB / 0.9396 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.175, allocations: 4 kB / 0.9396 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.298e-05/0.1751, allocations: 180 kB / 0.9398 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1751, allocations: 0 / 0.9398 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000349/0.1754, allocations: 99.64 kB / 0.9399 GB, free: 15.11 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (11): * Single equations (assignments): 11 * 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.0003338/0.1758, allocations: 171 kB / 0.94 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.1759, allocations: 75.52 kB / 0.9401 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1759, allocations: 0 / 0.9401 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.95e-05/0.176, allocations: 44.34 kB / 0.9401 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.1764, allocations: 93.02 kB / 0.9402 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008239/0.1772, allocations: 464.8 kB / 0.9407 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.858e-05/0.1773, allocations: 100.3 kB / 0.9408 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 8.981e-05/0.1774, allocations: 25.62 kB / 0.9408 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.1776, allocations: 130.1 kB / 0.9409 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of SimCode: time 8.72e-07/0.1776, allocations: 0 / 0.9409 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of Templates: time 0.008159/0.1857, allocations: 4.366 MB / 0.9452 GB, free: 9.656 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.225244964938611]