Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001122/0.001122, 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.001083/0.001083, 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 1.019/1.019, 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.211/2.211, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.833e-05, allocations: 2.312 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1258/0.1258, allocations: 144 MB / 1.02 GB, free: 5.469 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.1287, allocations: 2.254 MB / 1.022 GB, free: 3.211 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.1289, allocations: 19.88 kB / 1.022 GB, free: 3.191 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.1293, allocations: 91.2 kB / 1.022 GB, free: 3.102 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.1308, allocations: 0.6605 MB / 1.023 GB, free: 2.438 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1319, allocations: 0.5064 MB / 1.024 GB, free: 1.93 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0007465/0.1327, allocations: 0.7288 MB / 1.024 GB, free: 1.199 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.133, allocations: 231.5 kB / 1.024 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005374/0.1336, allocations: 391 kB / 1.025 GB, free: 0.5938 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006547/0.1342, allocations: 410.9 kB / 1.025 GB, free: 196 kB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.1343, allocations: 28 kB / 1.025 GB, free: 168 kB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008018/0.1351, allocations: 482.5 kB / 1.026 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1352, allocations: 131.6 kB / 1.026 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.1353, allocations: 115.8 kB / 1.026 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007123/0.136, allocations: 0.5334 MB / 1.026 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.136, allocations: 4 kB / 1.026 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.136, allocations: 0 / 1.026 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.136, allocations: 3.938 kB / 1.026 GB, free: 14.91 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007531/0.1368, allocations: 0.6861 MB / 1.027 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1368, allocations: 8.031 kB / 1.027 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000793/0.1376, allocations: 180.2 kB / 1.027 GB, free: 14 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.138, allocations: 279.5 kB / 1.028 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.37e-05/0.1381, allocations: 76.56 kB / 1.028 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.1381, allocations: 27.94 kB / 1.028 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.1385, allocations: 299.8 kB / 1.028 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1385, allocations: 0 / 1.028 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.1385, allocations: 12 kB / 1.028 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1385, allocations: 8 kB / 1.028 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1387, allocations: 95.3 kB / 1.028 GB, free: 13.14 MB / 0.9948 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.001586/0.1403, allocations: 1.194 MB / 1.029 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1404, allocations: 83.08 kB / 1.029 GB, free: 11.81 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.1405, allocations: 47.64 kB / 1.029 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/0.1408, allocations: 71.92 kB / 1.029 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1408, allocations: 37.39 kB / 1.029 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.1408, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0004223/0.1413, allocations: 157.3 kB / 1.03 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.1413, allocations: 51.41 kB / 1.03 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1415, allocations: 284.1 kB / 1.03 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1415, allocations: 29.7 kB / 1.03 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.1416, allocations: 247.2 kB / 1.03 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.1417, allocations: 51.52 kB / 1.03 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/0.1417, allocations: 59.34 kB / 1.03 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1419, allocations: 0.4962 MB / 1.031 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.1419, allocations: 15.98 kB / 1.031 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.142, allocations: 181.2 kB / 1.031 GB, free: 9.977 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.1422, allocations: 121.7 kB / 1.031 GB, free: 9.828 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1422, allocations: 0 / 1.031 GB, free: 9.828 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002647/0.1424, allocations: 145.3 kB / 1.031 GB, free: 9.68 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1425, allocations: 8.188 kB / 1.031 GB, free: 9.672 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1425, allocations: 4 kB / 1.031 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1425, allocations: 4 kB / 1.031 GB, free: 9.664 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.1426, allocations: 35.98 kB / 1.031 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1426, allocations: 7.938 kB / 1.031 GB, free: 9.621 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1427, allocations: 23.81 kB / 1.031 GB, free: 9.598 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.1428, allocations: 12 kB / 1.031 GB, free: 9.586 MB / 0.9948 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.0001074/0.1429, allocations: 160.6 kB / 1.031 GB, free: 9.418 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.1429, allocations: 31.8 kB / 1.032 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.1432, allocations: 154.6 kB / 1.032 GB, free: 9.234 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1432, allocations: 4 kB / 1.032 GB, free: 9.23 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1432, allocations: 0 / 1.032 GB, free: 9.23 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1432, allocations: 7.938 kB / 1.032 GB, free: 9.223 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006518/0.1439, allocations: 0.5345 MB / 1.032 GB, free: 8.625 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1439, allocations: 0 / 1.032 GB, free: 8.625 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.716e-05/0.144, allocations: 31.92 kB / 1.032 GB, free: 8.594 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.144, allocations: 11.88 kB / 1.032 GB, free: 8.582 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.144, allocations: 12.22 kB / 1.032 GB, free: 8.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.144, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.144, allocations: 4 kB / 1.032 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.1443, allocations: 325.5 kB / 1.033 GB, free: 8.199 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.1444, allocations: 43.77 kB / 1.033 GB, free: 8.156 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1444, allocations: 4 kB / 1.033 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1445, allocations: 11.98 kB / 1.033 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.1446, allocations: 23.92 kB / 1.033 GB, free: 8.117 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.1446, allocations: 7.984 kB / 1.033 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.409e-05/0.1447, allocations: 185.1 kB / 1.033 GB, free: 7.926 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1447, allocations: 4 kB / 1.033 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004131/0.1451, allocations: 119.6 kB / 1.033 GB, free: 7.805 MB / 0.9948 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 (15): * Single equations (assignments): 15 * 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.0002972/0.1454, allocations: 163 kB / 1.033 GB, free: 7.637 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.1456, allocations: 95.5 kB / 1.033 GB, free: 7.539 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1456, allocations: 3.938 kB / 1.033 GB, free: 7.535 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.1456, allocations: 47.59 kB / 1.033 GB, free: 7.484 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.1462, allocations: 105.2 kB / 1.033 GB, free: 7.383 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1472, allocations: 0.5594 MB / 1.034 GB, free: 6.762 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.583e-05/0.1473, allocations: 100.3 kB / 1.034 GB, free: 6.645 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.1474, allocations: 49.86 kB / 1.034 GB, free: 6.594 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.1477, allocations: 162.1 kB / 1.034 GB, free: 6.434 MB / 0.9948 GB Notification: Performance of SimCode: time 1.052e-06/0.1477, allocations: 0 / 1.034 GB, free: 6.434 MB / 0.9948 GB Notification: Performance of Templates: time 0.009533/0.1572, allocations: 5.684 MB / 1.04 GB, free: 0.8633 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.962507846299559]