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.0009983/0.0009983, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001122/0.001122, allocations: 169 kB / 24.06 MB, free: 456 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.9899/0.9899, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.194/2.194, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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.122e-06/1.122e-06, allocations: 0 / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.497e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1275/0.1275, allocations: 143.4 MB / 1.019 GB, free: 6.09 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00556/0.133, allocations: 2.067 MB / 1.021 GB, free: 4.02 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.1332, allocations: 15.88 kB / 1.021 GB, free: 4.004 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.1335, allocations: 75.36 kB / 1.022 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.1346, allocations: 0.5557 MB / 1.022 GB, free: 3.371 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.003803/0.1384, allocations: 430.7 kB / 1.023 GB, free: 2.949 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0005603/0.1389, allocations: 0.5493 MB / 1.023 GB, free: 2.395 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.1392, allocations: 153.5 kB / 1.023 GB, free: 2.246 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003996/0.1396, allocations: 295.2 kB / 1.023 GB, free: 1.957 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.14, allocations: 287.1 kB / 1.024 GB, free: 1.676 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.1401, allocations: 16 kB / 1.024 GB, free: 1.66 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006259/0.1407, allocations: 482.6 kB / 1.024 GB, free: 1.188 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.1408, allocations: 87.72 kB / 1.024 GB, free: 1.102 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.1409, allocations: 83.84 kB / 1.024 GB, free: 1.02 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.1444, allocations: 470.5 kB / 1.025 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1445, allocations: 0 / 1.025 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of FrontEnd: time 9.71e-07/0.1445, allocations: 4 kB / 1.025 GB, free: 0.5547 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1445, allocations: 0 / 1.025 GB, free: 0.5547 MB / 0.9792 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.0005894/0.145, allocations: 0.5962 MB / 1.025 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1451, allocations: 8.031 kB / 1.025 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004954/0.1456, allocations: 108.5 kB / 1.026 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.1459, allocations: 229.6 kB / 1.026 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1459, allocations: 16.36 kB / 1.026 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.1459, allocations: 20.38 kB / 1.026 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.1462, allocations: 240.6 kB / 1.026 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1462, allocations: 0 / 1.026 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1462, allocations: 8 kB / 1.026 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1462, allocations: 7.938 kB / 1.026 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1464, allocations: 68.02 kB / 1.026 GB, free: 15.17 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.1506, allocations: 1.37 MB / 1.027 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1507, allocations: 163.4 kB / 1.028 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.155e-05/0.1508, allocations: 66.42 kB / 1.028 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.1511, allocations: 63.92 kB / 1.028 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1511, allocations: 41.52 kB / 1.028 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1511, allocations: 4 kB / 1.028 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0003431/0.1514, allocations: 129.5 kB / 1.028 GB, free: 13.17 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.1515, allocations: 162.2 kB / 1.028 GB, free: 12.97 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1516, allocations: 253.5 kB / 1.028 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1516, allocations: 29.7 kB / 1.028 GB, free: 12.67 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.1517, allocations: 199.6 kB / 1.029 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.1518, allocations: 51.58 kB / 1.029 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.1518, allocations: 51.34 kB / 1.029 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.152, allocations: 0.504 MB / 1.029 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.152, allocations: 8 kB / 1.029 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1521, allocations: 219.6 kB / 1.029 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.1523, allocations: 137 kB / 1.029 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1523, allocations: 0 / 1.029 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002267/0.1525, allocations: 137.3 kB / 1.03 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1525, allocations: 7.984 kB / 1.03 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1525, allocations: 4 kB / 1.03 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1525, allocations: 4 kB / 1.03 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1526, allocations: 40.17 kB / 1.03 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.1526, allocations: 7.938 kB / 1.03 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.99e-05/0.1527, allocations: 15.89 kB / 1.03 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.1528, allocations: 19.98 kB / 1.03 GB, free: 11.15 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 9.39e-05/0.1529, allocations: 168.5 kB / 1.03 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00313/0.156, allocations: 27.8 kB / 1.03 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.1562, allocations: 134.4 kB / 1.03 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1562, allocations: 4 kB / 1.03 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1562, allocations: 7.922 kB / 1.03 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1562, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006119/0.1568, allocations: 0.9185 MB / 1.031 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1568, allocations: 12.02 kB / 1.031 GB, free: 9.793 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.1569, allocations: 16 kB / 1.031 GB, free: 9.777 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.1569, allocations: 7.938 kB / 1.031 GB, free: 9.77 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1569, allocations: 4.047 kB / 1.031 GB, free: 9.766 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.1569, allocations: 3.984 kB / 1.031 GB, free: 9.762 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1569, allocations: 11.92 kB / 1.031 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.1572, allocations: 297.9 kB / 1.031 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.1572, allocations: 39.7 kB / 1.031 GB, free: 9.375 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1572, allocations: 8 kB / 1.031 GB, free: 9.367 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.1573, allocations: 8.031 kB / 1.031 GB, free: 9.359 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.1574, allocations: 15.92 kB / 1.031 GB, free: 9.344 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1574, allocations: 4 kB / 1.031 GB, free: 9.34 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.408e-05/0.1574, allocations: 179.1 kB / 1.031 GB, free: 9.164 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1574, allocations: 0 / 1.031 GB, free: 9.164 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003549/0.1578, allocations: 79.83 kB / 1.032 GB, free: 9.086 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.0002625/0.1581, allocations: 175 kB / 1.032 GB, free: 8.906 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.1582, allocations: 75.45 kB / 1.032 GB, free: 8.828 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1582, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.604e-05/0.1583, allocations: 40.36 kB / 1.032 GB, free: 8.785 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.1587, allocations: 77.22 kB / 1.032 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.1624, allocations: 468.6 kB / 1.032 GB, free: 8.199 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.016e-05/0.1624, allocations: 83.97 kB / 1.032 GB, free: 8.098 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 9.751e-05/0.1625, allocations: 45.59 kB / 1.032 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.1627, allocations: 126.2 kB / 1.033 GB, free: 7.93 MB / 0.9948 GB Notification: Performance of SimCode: time 5.51e-07/0.1627, allocations: 0 / 1.033 GB, free: 7.93 MB / 0.9948 GB Notification: Performance of Templates: time 0.01306/0.1757, allocations: 4.255 MB / 1.037 GB, free: 3.758 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.790007187984884]