Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009765/0.0009765, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009549/0.0009549, allocations: 165 kB / 23.02 MB, free: 1.551 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.9763/0.9763, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.101/2.101, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8782 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.361e-05, allocations: 11.14 kB / 0.8782 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1398/0.1398, allocations: 146.1 MB / 1.021 GB, free: 3.52 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002659/0.1425, allocations: 2.101 MB / 1.023 GB, free: 1.414 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.1426, allocations: 11.88 kB / 1.023 GB, free: 1.402 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.143, allocations: 71.41 kB / 1.023 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.144, allocations: 0.5557 MB / 1.024 GB, free: 0.7734 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007595/0.1448, allocations: 430.8 kB / 1.024 GB, free: 360 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0005105/0.1453, allocations: 0.5493 MB / 1.025 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.1455, allocations: 165.5 kB / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.1459, allocations: 291.2 kB / 1.025 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.1464, allocations: 283 kB / 1.025 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.1464, allocations: 20 kB / 1.025 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.147, allocations: 470.7 kB / 1.026 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.269e-05/0.1471, allocations: 95.72 kB / 1.026 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.1472, allocations: 87.83 kB / 1.026 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.1478, allocations: 474.4 kB / 1.026 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1478, allocations: 0 / 1.026 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1478, allocations: 0 / 1.026 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1478, allocations: 0 / 1.026 GB, free: 13.95 MB / 0.9948 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.000706/0.1485, allocations: 0.5924 MB / 1.027 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1485, allocations: 12.02 kB / 1.027 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/0.1491, allocations: 108.5 kB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.1495, allocations: 241.6 kB / 1.027 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.1495, allocations: 16.38 kB / 1.027 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.1495, allocations: 20.38 kB / 1.027 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.1499, allocations: 240.7 kB / 1.027 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1499, allocations: 3.938 kB / 1.027 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.1499, allocations: 12 kB / 1.028 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1499, allocations: 4 kB / 1.028 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.1501, allocations: 83.58 kB / 1.028 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.1513, allocations: 1.378 MB / 1.029 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1515, allocations: 171.4 kB / 1.029 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.1516, allocations: 62.42 kB / 1.029 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.1519, allocations: 72.05 kB / 1.029 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1519, allocations: 41.39 kB / 1.029 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.1519, allocations: 0 / 1.029 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0004095/0.1523, allocations: 141.3 kB / 1.029 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.1524, allocations: 162.2 kB / 1.03 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1526, allocations: 249.6 kB / 1.03 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1526, allocations: 25.7 kB / 1.03 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1527, allocations: 199.6 kB / 1.03 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.1527, allocations: 55.53 kB / 1.03 GB, free: 9.762 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.1528, allocations: 51.36 kB / 1.03 GB, free: 9.703 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1529, allocations: 0.5039 MB / 1.031 GB, free: 9.188 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.153, allocations: 12 kB / 1.031 GB, free: 9.176 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1531, allocations: 219.7 kB / 1.031 GB, free: 8.895 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1533, allocations: 141 kB / 1.031 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1533, allocations: 0 / 1.031 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002752/0.1536, allocations: 145.4 kB / 1.031 GB, free: 8.57 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1536, allocations: 4 kB / 1.031 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1536, allocations: 4 kB / 1.031 GB, free: 8.562 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.1536, allocations: 4 kB / 1.031 GB, free: 8.559 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1538, allocations: 36.17 kB / 1.031 GB, free: 8.523 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1538, allocations: 7.938 kB / 1.031 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.1539, allocations: 19.89 kB / 1.031 GB, free: 8.496 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.1539, allocations: 11.98 kB / 1.031 GB, free: 8.484 MB / 0.9948 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.0001037/0.154, allocations: 176.5 kB / 1.031 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.1541, allocations: 27.89 kB / 1.031 GB, free: 8.273 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.1544, allocations: 138.4 kB / 1.032 GB, free: 8.121 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1544, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.1544, allocations: 7.938 kB / 1.032 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1544, allocations: 3.938 kB / 1.032 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007247/0.1551, allocations: 0.9649 MB / 1.032 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1551, allocations: 11.95 kB / 1.032 GB, free: 7.062 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.725e-05/0.1552, allocations: 20 kB / 1.032 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1552, allocations: 4 kB / 1.032 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.1553, allocations: 4 kB / 1.032 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1553, allocations: 7.922 kB / 1.033 GB, free: 7.027 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1553, allocations: 4 kB / 1.033 GB, free: 7.023 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.1556, allocations: 305.9 kB / 1.033 GB, free: 6.68 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.1556, allocations: 35.72 kB / 1.033 GB, free: 6.645 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.1556, allocations: 8 kB / 1.033 GB, free: 6.637 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.1557, allocations: 8.031 kB / 1.033 GB, free: 6.629 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.1558, allocations: 11.98 kB / 1.033 GB, free: 6.617 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1558, allocations: 7.984 kB / 1.033 GB, free: 6.609 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001052/0.1559, allocations: 187 kB / 1.033 GB, free: 6.426 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.1559, allocations: 0 / 1.033 GB, free: 6.426 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002472/0.1561, allocations: 79.83 kB / 1.033 GB, free: 6.348 MB / 0.9948 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.0002719/0.1564, allocations: 179 kB / 1.033 GB, free: 6.164 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.1566, allocations: 83.62 kB / 1.033 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1566, allocations: 0 / 1.033 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-05/0.1566, allocations: 40.23 kB / 1.033 GB, free: 6.035 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.1569, allocations: 84.64 kB / 1.033 GB, free: 5.957 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.1577, allocations: 472.7 kB / 1.034 GB, free: 5.441 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.324e-05/0.1577, allocations: 87.97 kB / 1.034 GB, free: 5.336 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.809e-05/0.1578, allocations: 37.61 kB / 1.034 GB, free: 5.301 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.1578, allocations: 24.48 kB / 1.034 GB, free: 5.277 MB / 0.9948 GB Notification: Performance of SimCode: time 7.62e-07/0.1578, allocations: 0 / 1.034 GB, free: 5.277 MB / 0.9948 GB Notification: Performance of Templates: time 0.005696/0.1635, allocations: 3.809 MB / 1.038 GB, free: 1.551 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.770857381168753]