Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.0009625/0.0009625, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009331/0.0009331, allocations: 169 kB / 24.28 MB, free: 280 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.9524/0.9524, allocations: 177.1 MB / 204.6 MB, free: 5.656 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.942/1.942, allocations: 359 MB / 0.6055 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 177] 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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.621e-05, allocations: 3.375 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1455/0.1456, allocations: 165.8 MB / 0.949 GB, free: 6.449 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.006819/0.1524, allocations: 7.376 MB / 0.9562 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.1528, allocations: 15.88 kB / 0.9563 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.1533, allocations: 182.6 kB / 0.9564 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.156, allocations: 1.329 MB / 0.9577 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.1574, allocations: 0.6969 MB / 0.9584 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009522/0.1583, allocations: 0.7562 MB / 0.9591 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.1587, allocations: 247.3 kB / 0.9594 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.1597, allocations: 0.689 MB / 0.9601 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006705/0.1603, allocations: 422.8 kB / 0.9605 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.1604, allocations: 28 kB / 0.9605 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.162, allocations: 1.067 MB / 0.9615 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1621, allocations: 119.6 kB / 0.9616 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1622, allocations: 123.7 kB / 0.9618 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1633, allocations: 0.8333 MB / 0.9626 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1633, allocations: 4 kB / 0.9626 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1633, allocations: 0 / 0.9626 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1633, allocations: 0 / 0.9626 GB, free: 8.543 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008103/0.1641, allocations: 0.7247 MB / 0.9633 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1642, allocations: 8.031 kB / 0.9633 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007242/0.1649, allocations: 183.2 kB / 0.9635 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.1653, allocations: 286.8 kB / 0.9637 GB, free: 7.289 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.1654, allocations: 80.06 kB / 0.9638 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.1654, allocations: 28 kB / 0.9638 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.1658, allocations: 319.8 kB / 0.9641 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1658, allocations: 4 kB / 0.9642 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.1659, allocations: 8 kB / 0.9642 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1659, allocations: 8 kB / 0.9642 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.1661, allocations: 118.9 kB / 0.9643 GB, free: 6.684 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.1673, allocations: 1.256 MB / 0.9655 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.1676, allocations: 87.09 kB / 0.9656 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.755e-05/0.1677, allocations: 43.61 kB / 0.9656 GB, free: 5.23 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000421/0.1681, allocations: 127.9 kB / 0.9658 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.1682, allocations: 37.33 kB / 0.9658 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 3.466e-06/0.1682, allocations: 0 / 0.9658 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0004762/0.1686, allocations: 181.3 kB / 0.966 GB, free: 4.875 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1687, allocations: 51.41 kB / 0.966 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1689, allocations: 280.3 kB / 0.9663 GB, free: 4.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1689, allocations: 29.7 kB / 0.9663 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.169, allocations: 243.2 kB / 0.9665 GB, free: 4.238 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.169, allocations: 55.53 kB / 0.9666 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.1691, allocations: 51.31 kB / 0.9666 GB, free: 4.125 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1692, allocations: 0.504 MB / 0.9671 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.548e-05/0.1693, allocations: 19.98 kB / 0.9672 GB, free: 3.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1694, allocations: 177 kB / 0.9673 GB, free: 3.371 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1696, allocations: 133.7 kB / 0.9674 GB, free: 3.207 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1696, allocations: 0 / 0.9674 GB, free: 3.207 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002655/0.1698, allocations: 153.3 kB / 0.9676 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.1699, allocations: 20.11 kB / 0.9676 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1699, allocations: 0 / 0.9676 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1699, allocations: 4 kB / 0.9676 GB, free: 3.027 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.17, allocations: 35.97 kB / 0.9677 GB, free: 2.992 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.17, allocations: 4 kB / 0.9677 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.642e-05/0.1701, allocations: 19.88 kB / 0.9677 GB, free: 2.969 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.1701, allocations: 15.98 kB / 0.9677 GB, free: 2.953 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.000102/0.1702, allocations: 168.5 kB / 0.9678 GB, free: 2.777 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.1703, allocations: 35.73 kB / 0.9679 GB, free: 2.742 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.1706, allocations: 183.2 kB / 0.9681 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1706, allocations: 4 kB / 0.9681 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1706, allocations: 0 / 0.9681 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1706, allocations: 0 / 0.9681 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006769/0.1713, allocations: 0.6042 MB / 0.9687 GB, free: 1.879 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1713, allocations: 4.219 kB / 0.9687 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.1714, allocations: 39.92 kB / 0.9687 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1714, allocations: 7.938 kB / 0.9687 GB, free: 1.828 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1714, allocations: 7.984 kB / 0.9687 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1714, allocations: 0 / 0.9687 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1714, allocations: 4 kB / 0.9687 GB, free: 1.816 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.1717, allocations: 349.3 kB / 0.969 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.1718, allocations: 55.75 kB / 0.9691 GB, free: 1.371 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.1718, allocations: 4 kB / 0.9691 GB, free: 1.367 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.1719, allocations: 8 kB / 0.9691 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.172, allocations: 27.84 kB / 0.9691 GB, free: 1.332 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.172, allocations: 12 kB / 0.9691 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.867e-05/0.1721, allocations: 193.1 kB / 0.9693 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1721, allocations: 0 / 0.9693 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004256/0.1725, allocations: 135.6 kB / 0.9695 GB, free: 1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0003866/0.1729, allocations: 218.9 kB / 0.9697 GB, free: 0.7773 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.1732, allocations: 107.8 kB / 0.9698 GB, free: 0.6719 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1732, allocations: 384 / 0.9698 GB, free: 0.6719 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.1732, allocations: 55.55 kB / 0.9698 GB, free: 0.6133 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.1737, allocations: 121.1 kB / 0.9699 GB, free: 0.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.1747, allocations: 0.5602 MB / 0.9705 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.779e-05/0.1748, allocations: 100.3 kB / 0.9706 GB, free: 15.76 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000152/0.1749, allocations: 62.12 kB / 0.9706 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.175, allocations: 28.5 kB / 0.9707 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/0.175, allocations: 0 / 0.9707 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of Templates: time 0.008694/0.1837, allocations: 6.108 MB / 0.9766 GB, free: 9.691 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.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.5015986720100045]