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.001171/0.001171, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001123/0.001123, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 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.9144/0.9144, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.732/1.732, allocations: 359 MB / 0.6052 GB, free: 11 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 2.224e-06/2.224e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.161e-05, allocations: 4.188 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.144/0.144, allocations: 146.1 MB / 0.9298 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.1471, allocations: 2.111 MB / 0.9319 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.1473, allocations: 19.81 kB / 0.9319 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.1477, allocations: 79.34 kB / 0.932 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.1491, allocations: 0.5596 MB / 0.9325 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1503, allocations: 438.7 kB / 0.9329 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00072/0.151, allocations: 0.5727 MB / 0.9335 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.1513, allocations: 173.5 kB / 0.9337 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005216/0.1518, allocations: 311.1 kB / 0.934 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000536/0.1524, allocations: 291.1 kB / 0.9342 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.1524, allocations: 20 kB / 0.9342 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007131/0.1531, allocations: 474.6 kB / 0.9347 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1532, allocations: 99.7 kB / 0.9348 GB, free: 4.75 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.407e-05/0.1533, allocations: 79.83 kB / 0.9349 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006906/0.154, allocations: 470.5 kB / 0.9353 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.154, allocations: 0 / 0.9353 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.573e-06/0.154, allocations: 0 / 0.9353 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.154, allocations: 0 / 0.9353 GB, free: 4.211 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.0007565/0.1548, allocations: 0.5966 MB / 0.9359 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1548, allocations: 8.031 kB / 0.9359 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005561/0.1554, allocations: 112.5 kB / 0.936 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.1557, allocations: 237.1 kB / 0.9362 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.1557, allocations: 12.38 kB / 0.9363 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.1558, allocations: 24.38 kB / 0.9363 GB, free: 3.168 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.1562, allocations: 243.9 kB / 0.9365 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1562, allocations: 4 kB / 0.9365 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.1562, allocations: 8 kB / 0.9365 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1562, allocations: 4 kB / 0.9365 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.1564, allocations: 87.81 kB / 0.9366 GB, free: 2.789 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.1577, allocations: 1.386 MB / 0.938 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1579, allocations: 163.4 kB / 0.9381 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.401e-05/0.1579, allocations: 70.42 kB / 0.9382 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/0.1582, allocations: 59.92 kB / 0.9382 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1583, allocations: 41.52 kB / 0.9383 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1583, allocations: 4 kB / 0.9383 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0004434/0.1587, allocations: 145.3 kB / 0.9384 GB, free: 0.7539 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.1588, allocations: 162.2 kB / 0.9386 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.1589, allocations: 253.8 kB / 0.9388 GB, free: 300 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.159, allocations: 29.7 kB / 0.9389 GB, free: 264 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1591, allocations: 207 kB / 0.9391 GB, free: 52 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.1591, allocations: 47.64 kB / 0.9391 GB, free: 4 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/0.1592, allocations: 47.86 kB / 0.9391 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1593, allocations: 0.4962 MB / 0.9396 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.333e-05/0.1594, allocations: 23.98 kB / 0.9396 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.1597, allocations: 229 kB / 0.9399 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1598, allocations: 141 kB / 0.94 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1598, allocations: 0 / 0.94 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000282/0.1601, allocations: 153.3 kB / 0.9401 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1601, allocations: 4 kB / 0.9402 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1601, allocations: 11.98 kB / 0.9402 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1602, allocations: 4 kB / 0.9402 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1603, allocations: 35.92 kB / 0.9402 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1603, allocations: 3.938 kB / 0.9402 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.773e-05/0.1604, allocations: 24.14 kB / 0.9402 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.1604, allocations: 15.98 kB / 0.9402 GB, free: 14.7 MB / 0.9011 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.0001007/0.1605, allocations: 168.5 kB / 0.9404 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.1607, allocations: 23.84 kB / 0.9404 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.1609, allocations: 138.4 kB / 0.9406 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1609, allocations: 4 kB / 0.9406 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.1609, allocations: 7.922 kB / 0.9406 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1609, allocations: 0 / 0.9406 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007339/0.1617, allocations: 0.9609 MB / 0.9415 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1617, allocations: 11.81 kB / 0.9415 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.124e-05/0.1618, allocations: 24.17 kB / 0.9415 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1618, allocations: 4 kB / 0.9415 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1618, allocations: 4 kB / 0.9416 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1618, allocations: 7.984 kB / 0.9416 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1618, allocations: 0 / 0.9416 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.1621, allocations: 317.8 kB / 0.9419 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.1621, allocations: 27.83 kB / 0.9419 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.1621, allocations: 4 kB / 0.9419 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.1622, allocations: 4.062 kB / 0.9419 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.1623, allocations: 19.92 kB / 0.9419 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.1623, allocations: 12.03 kB / 0.9419 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001172/0.1624, allocations: 188 kB / 0.9421 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.1624, allocations: 3.938 kB / 0.9421 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004198/0.1628, allocations: 91.72 kB / 0.9422 GB, free: 12.56 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.000301/0.1631, allocations: 175 kB / 0.9424 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1633, allocations: 79.47 kB / 0.9424 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1633, allocations: 0 / 0.9424 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.846e-05/0.1634, allocations: 43.55 kB / 0.9425 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.1638, allocations: 82.22 kB / 0.9426 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008923/0.1647, allocations: 480.8 kB / 0.943 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.636e-05/0.1648, allocations: 92.31 kB / 0.9431 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.1649, allocations: 45.73 kB / 0.9431 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.165, allocations: 24.48 kB / 0.9432 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of SimCode: time 7.61e-07/0.165, allocations: 0 / 0.9432 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of Templates: time 0.008109/0.1731, allocations: 4.329 MB / 0.9474 GB, free: 7.238 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.523488833103329]