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.0008823/0.0008823, 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.0009349/0.0009349, allocations: 169 kB / 24.28 MB, free: 276 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.9529/0.9529, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.94/1.94, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.663e-06/1.663e-06, allocations: 0.9844 kB / 0.8116 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.072e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1432/0.1432, allocations: 159.4 MB / 0.9672 GB, free: 2.172 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004209/0.1474, allocations: 4.739 MB / 0.9718 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.1476, allocations: 11.88 kB / 0.9718 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.148, allocations: 123.1 kB / 0.9719 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0009918/0.149, allocations: 0.5829 MB / 0.9725 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1501, allocations: 0.8367 MB / 0.9733 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.1505, allocations: 0.5728 MB / 0.9739 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.1508, allocations: 177.4 kB / 0.9741 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.1518, allocations: 0.7394 MB / 0.9748 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.1522, allocations: 287 kB / 0.975 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.1522, allocations: 20 kB / 0.9751 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008396/0.1531, allocations: 0.8645 MB / 0.9759 GB, free: 9.203 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 8.563e-05/0.1532, allocations: 103.7 kB / 0.976 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 8.09e-05/0.1532, allocations: 83.84 kB / 0.9761 GB, free: 9.02 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0007033/0.154, allocations: 0.662 MB / 0.9767 GB, free: 8.355 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.154, allocations: 0 / 0.9767 GB, free: 8.355 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.363e-06/0.154, allocations: 0 / 0.9767 GB, free: 8.355 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.154, allocations: 4 kB / 0.9767 GB, free: 8.352 MB / 0.9323 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.000654/0.1546, allocations: 0.6193 MB / 0.9773 GB, free: 7.695 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1547, allocations: 8.031 kB / 0.9774 GB, free: 7.688 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007309/0.1554, allocations: 123.4 kB / 0.9775 GB, free: 7.566 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1557, allocations: 248.4 kB / 0.9777 GB, free: 7.297 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1557, allocations: 12 kB / 0.9777 GB, free: 7.285 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.1557, allocations: 20 kB / 0.9777 GB, free: 7.266 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.156, allocations: 252.6 kB / 0.978 GB, free: 6.98 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.156, allocations: 0 / 0.978 GB, free: 6.98 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1561, allocations: 4 kB / 0.978 GB, free: 6.977 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.1561, allocations: 8 kB / 0.978 GB, free: 6.969 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1562, allocations: 85.2 kB / 0.9781 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009886/0.1572, allocations: 1.378 MB / 0.9794 GB, free: 5.434 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.1574, allocations: 179.4 kB / 0.9796 GB, free: 5.195 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.351e-05/0.1574, allocations: 70.55 kB / 0.9797 GB, free: 5.105 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/0.1577, allocations: 95.89 kB / 0.9797 GB, free: 5.012 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1578, allocations: 37.39 kB / 0.9798 GB, free: 4.965 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1578, allocations: 0 / 0.9798 GB, free: 4.965 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.000342/0.1581, allocations: 145.3 kB / 0.9799 GB, free: 4.816 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.1582, allocations: 158.2 kB / 0.9801 GB, free: 4.625 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1583, allocations: 250.9 kB / 0.9803 GB, free: 4.363 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1583, allocations: 29.7 kB / 0.9803 GB, free: 4.328 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.1584, allocations: 203.6 kB / 0.9805 GB, free: 4.121 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.1585, allocations: 59.53 kB / 0.9806 GB, free: 4.062 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.1585, allocations: 47.36 kB / 0.9806 GB, free: 4.008 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1586, allocations: 0.4962 MB / 0.9811 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.094e-05/0.1587, allocations: 15.98 kB / 0.9811 GB, free: 3.484 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1588, allocations: 222.3 kB / 0.9813 GB, free: 3.203 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.1589, allocations: 141 kB / 0.9815 GB, free: 3.027 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.159, allocations: 3.938 kB / 0.9815 GB, free: 3.023 MB / 0.9323 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002037/0.1592, allocations: 153.3 kB / 0.9816 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1592, allocations: 8 kB / 0.9816 GB, free: 2.859 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1592, allocations: 0 / 0.9816 GB, free: 2.859 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1592, allocations: 4.25 kB / 0.9816 GB, free: 2.855 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1593, allocations: 43.91 kB / 0.9817 GB, free: 2.812 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1593, allocations: 4 kB / 0.9817 GB, free: 2.809 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.309e-05/0.1594, allocations: 11.95 kB / 0.9817 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.1594, allocations: 16 kB / 0.9817 GB, free: 2.781 MB / 0.9323 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.621e-05/0.1595, allocations: 180.4 kB / 0.9819 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.062e-05/0.1596, allocations: 23.84 kB / 0.9819 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.1598, allocations: 150 kB / 0.9821 GB, free: 2.41 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1598, allocations: 4 kB / 0.9821 GB, free: 2.406 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1598, allocations: 0 / 0.9821 GB, free: 2.406 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1598, allocations: 3.984 kB / 0.9821 GB, free: 2.402 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.1603, allocations: 0.9535 MB / 0.983 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1603, allocations: 0 / 0.983 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/0.1604, allocations: 19.98 kB / 0.983 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1604, allocations: 8.031 kB / 0.983 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1604, allocations: 0 / 0.983 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1604, allocations: 4 kB / 0.983 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1604, allocations: 0 / 0.983 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.1607, allocations: 306 kB / 0.9833 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.1607, allocations: 27.89 kB / 0.9833 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.1608, allocations: 7.984 kB / 0.9833 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/0.1608, allocations: 8.062 kB / 0.9834 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1609, allocations: 11.92 kB / 0.9834 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.1609, allocations: 8 kB / 0.9834 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001148/0.161, allocations: 193.1 kB / 0.9836 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.161, allocations: 0 / 0.9836 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003202/0.1613, allocations: 107.7 kB / 0.9837 GB, free: 0.6602 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0003173/0.1616, allocations: 210.9 kB / 0.9839 GB, free: 456 kB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.1618, allocations: 79.47 kB / 0.9839 GB, free: 372 kB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1618, allocations: 0 / 0.9839 GB, free: 372 kB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 4.213e-05/0.1618, allocations: 35.73 kB / 0.984 GB, free: 332 kB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1622, allocations: 94.11 kB / 0.9841 GB, free: 240 kB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1632, allocations: 472.9 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.456e-05/0.1632, allocations: 84.31 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.7e-05/0.1633, allocations: 53.86 kB / 0.9846 GB, free: 15.56 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.1634, allocations: 28.48 kB / 0.9847 GB, free: 15.53 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.1634, allocations: 0 / 0.9847 GB, free: 15.53 MB / 0.948 GB Notification: Performance of Templates: time 0.006298/0.1697, allocations: 4.485 MB / 0.9891 GB, free: 11.13 MB / 0.948 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.46629455499351]