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.001542/0.001542, 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.001189/0.001189, allocations: 161 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 1.038/1.038, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.936/1.936, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.287e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1512/0.1512, allocations: 146.1 MB / 0.9543 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.1536, allocations: 2.126 MB / 0.9563 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.1539, allocations: 11.88 kB / 0.9564 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.1542, allocations: 75.36 kB / 0.9564 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.1554, allocations: 0.5635 MB / 0.957 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.1563, allocations: 438.7 kB / 0.9574 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005817/0.1569, allocations: 0.5611 MB / 0.9579 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/0.1572, allocations: 173.5 kB / 0.9581 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.1577, allocations: 315.1 kB / 0.9584 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.1582, allocations: 287 kB / 0.9587 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.1582, allocations: 16 kB / 0.9587 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006955/0.1589, allocations: 474.7 kB / 0.9591 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.159, allocations: 95.72 kB / 0.9592 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.518e-05/0.1591, allocations: 79.83 kB / 0.9593 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.1597, allocations: 478.4 kB / 0.9598 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1597, allocations: 0 / 0.9598 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1597, allocations: 0 / 0.9598 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.1598, allocations: 4 kB / 0.9598 GB, free: 9.445 MB / 0.9167 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.0007015/0.1605, allocations: 0.6005 MB / 0.9604 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1605, allocations: 8.031 kB / 0.9604 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000512/0.161, allocations: 104.5 kB / 0.9605 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.1614, allocations: 249 kB / 0.9607 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.1615, allocations: 16.38 kB / 0.9607 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.1615, allocations: 16.38 kB / 0.9607 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.1618, allocations: 252.6 kB / 0.961 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1618, allocations: 0 / 0.961 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1619, allocations: 12 kB / 0.961 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.1619, allocations: 7.938 kB / 0.961 GB, free: 8.094 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.162, allocations: 87.56 kB / 0.9611 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.1631, allocations: 1.382 MB / 0.9624 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1633, allocations: 163.7 kB / 0.9626 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.1633, allocations: 66.36 kB / 0.9627 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.1636, allocations: 67.92 kB / 0.9627 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1636, allocations: 45.38 kB / 0.9628 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 2.826e-06/0.1636, allocations: 3.938 kB / 0.9628 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003647/0.164, allocations: 137.3 kB / 0.9629 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.1641, allocations: 166.1 kB / 0.9631 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1642, allocations: 247.4 kB / 0.9633 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1642, allocations: 33.7 kB / 0.9633 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1644, allocations: 211 kB / 0.9635 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1644, allocations: 39.64 kB / 0.9636 GB, free: 5.23 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.1644, allocations: 47.36 kB / 0.9636 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1646, allocations: 0.504 MB / 0.9641 GB, free: 4.66 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.1646, allocations: 11.98 kB / 0.9641 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.1648, allocations: 226.3 kB / 0.9643 GB, free: 4.363 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.1649, allocations: 141 kB / 0.9645 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1649, allocations: 0 / 0.9645 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002405/0.1652, allocations: 157.2 kB / 0.9646 GB, free: 4.027 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1652, allocations: 4 kB / 0.9646 GB, free: 4.023 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1652, allocations: 4.25 kB / 0.9646 GB, free: 4.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1652, allocations: 4 kB / 0.9646 GB, free: 4.016 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1653, allocations: 35.98 kB / 0.9647 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1653, allocations: 11.88 kB / 0.9647 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.829e-05/0.1654, allocations: 15.89 kB / 0.9647 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.1654, allocations: 15.98 kB / 0.9647 GB, free: 3.938 MB / 0.9167 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 8.964e-05/0.1655, allocations: 164.6 kB / 0.9649 GB, free: 3.766 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.244e-05/0.1656, allocations: 27.84 kB / 0.9649 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.1659, allocations: 142.4 kB / 0.965 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1659, allocations: 0 / 0.965 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1659, allocations: 7.938 kB / 0.965 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1659, allocations: 3.938 kB / 0.965 GB, free: 3.574 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006309/0.1665, allocations: 0.9687 MB / 0.966 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1665, allocations: 3.938 kB / 0.966 GB, free: 2.527 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.1666, allocations: 19.94 kB / 0.966 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1666, allocations: 4 kB / 0.966 GB, free: 2.504 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1666, allocations: 8 kB / 0.966 GB, free: 2.496 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.1666, allocations: 3.984 kB / 0.966 GB, free: 2.492 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1666, allocations: 4 kB / 0.966 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.1669, allocations: 310 kB / 0.9663 GB, free: 2.141 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.1669, allocations: 35.89 kB / 0.9663 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.167, allocations: 7.953 kB / 0.9664 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.167, allocations: 8 kB / 0.9664 GB, free: 2.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.1671, allocations: 7.984 kB / 0.9664 GB, free: 2.082 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.1671, allocations: 15.92 kB / 0.9664 GB, free: 2.066 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.986e-05/0.1672, allocations: 184 kB / 0.9666 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1672, allocations: 0 / 0.9666 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003425/0.1675, allocations: 95.69 kB / 0.9666 GB, free: 1.793 MB / 0.9167 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.0003427/0.1679, allocations: 171 kB / 0.9668 GB, free: 1.617 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.1681, allocations: 79.47 kB / 0.9669 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1681, allocations: 4.5 kB / 0.9669 GB, free: 1.531 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.1681, allocations: 47.55 kB / 0.9669 GB, free: 1.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1685, allocations: 85.5 kB / 0.967 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.1693, allocations: 477 kB / 0.9675 GB, free: 0.875 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.635e-05/0.1694, allocations: 88.31 kB / 0.9676 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.1695, allocations: 45.59 kB / 0.9676 GB, free: 0.7266 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.1696, allocations: 24.48 kB / 0.9676 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of SimCode: time 1.132e-06/0.1696, allocations: 0 / 0.9676 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of Templates: time 0.006898/0.1765, allocations: 3.935 MB / 0.9715 GB, free: 12.86 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.821768247988075]