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.001104/0.001104, allocations: 92.22 kB / 19.65 MB, free: 276 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.000993/0.000993, allocations: 169 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 1.059/1.059, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.242/2.242, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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 2.685e-06/2.685e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/2.081e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1412/0.1412, allocations: 146.7 MB / 1.021 GB, free: 3.043 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003091/0.1443, allocations: 2.278 MB / 1.024 GB, free: 0.7578 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.1445, allocations: 15.88 kB / 1.024 GB, free: 0.7422 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1448, allocations: 87.27 kB / 1.024 GB, free: 0.6562 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.146, allocations: 0.6606 MB / 1.024 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007919/0.1468, allocations: 0.5025 MB / 1.025 GB, free: 15.49 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005935/0.1474, allocations: 0.7326 MB / 1.026 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.1477, allocations: 227.5 kB / 1.026 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004591/0.1482, allocations: 398.9 kB / 1.026 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006973/0.1489, allocations: 402.9 kB / 1.027 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.1489, allocations: 28 kB / 1.027 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005708/0.1495, allocations: 478.6 kB / 1.027 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1496, allocations: 131.6 kB / 1.027 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1497, allocations: 127.7 kB / 1.027 GB, free: 13 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.1503, allocations: 0.5334 MB / 1.028 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1503, allocations: 0 / 1.028 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1503, allocations: 0 / 1.028 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.1503, allocations: 0 / 1.028 GB, free: 12.46 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.0008356/0.1511, allocations: 0.6784 MB / 1.029 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1512, allocations: 8.031 kB / 1.029 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005931/0.1518, allocations: 184.2 kB / 1.029 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.1521, allocations: 287.4 kB / 1.029 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.957e-05/0.1522, allocations: 72.62 kB / 1.029 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.1522, allocations: 27.94 kB / 1.029 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.1526, allocations: 323.8 kB / 1.029 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1526, allocations: 0 / 1.029 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.1526, allocations: 12 kB / 1.029 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.1526, allocations: 8 kB / 1.029 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.1528, allocations: 114.9 kB / 1.03 GB, free: 10.66 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.001121/0.1539, allocations: 1.252 MB / 1.031 GB, free: 9.352 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1541, allocations: 91.03 kB / 1.031 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.1542, allocations: 43.67 kB / 1.031 GB, free: 9.203 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/0.1544, allocations: 75.91 kB / 1.031 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1545, allocations: 37.39 kB / 1.031 GB, free: 9.082 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.1545, allocations: 4 kB / 1.031 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0003729/0.1548, allocations: 164.5 kB / 1.031 GB, free: 8.914 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.1549, allocations: 67.27 kB / 1.031 GB, free: 8.836 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.155, allocations: 272.3 kB / 1.031 GB, free: 8.555 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1551, allocations: 29.7 kB / 1.032 GB, free: 8.52 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1552, allocations: 247.2 kB / 1.032 GB, free: 8.27 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.1552, allocations: 59.52 kB / 1.032 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.1553, allocations: 51.36 kB / 1.032 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1554, allocations: 0.5078 MB / 1.032 GB, free: 7.633 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.1554, allocations: 23.98 kB / 1.032 GB, free: 7.609 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1555, allocations: 175.4 kB / 1.033 GB, free: 7.391 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1557, allocations: 132.3 kB / 1.033 GB, free: 7.234 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1557, allocations: 0 / 1.033 GB, free: 7.234 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002272/0.1559, allocations: 157.4 kB / 1.033 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1559, allocations: 4 kB / 1.033 GB, free: 7.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1559, allocations: 4 kB / 1.033 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1559, allocations: 4 kB / 1.033 GB, free: 7.062 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.156, allocations: 35.92 kB / 1.033 GB, free: 7.027 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1561, allocations: 7.938 kB / 1.033 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.339e-05/0.1561, allocations: 19.88 kB / 1.033 GB, free: 7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.1562, allocations: 12 kB / 1.033 GB, free: 6.988 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 8.824e-05/0.1562, allocations: 168.7 kB / 1.033 GB, free: 6.812 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.1563, allocations: 31.8 kB / 1.033 GB, free: 6.781 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.1565, allocations: 159.3 kB / 1.033 GB, free: 6.621 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1565, allocations: 4 kB / 1.033 GB, free: 6.617 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1565, allocations: 3.938 kB / 1.033 GB, free: 6.613 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1565, allocations: 0 / 1.033 GB, free: 6.613 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.1571, allocations: 0.5963 MB / 1.034 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1571, allocations: 0 / 1.034 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.1572, allocations: 36.19 kB / 1.034 GB, free: 5.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1572, allocations: 4.047 kB / 1.034 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1572, allocations: 7.984 kB / 1.034 GB, free: 5.898 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1572, allocations: 7.938 kB / 1.034 GB, free: 5.891 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1572, allocations: 4 kB / 1.034 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1574, allocations: 337.4 kB / 1.034 GB, free: 5.508 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.1575, allocations: 39.83 kB / 1.034 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1575, allocations: 4 kB / 1.034 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.1576, allocations: 15.98 kB / 1.034 GB, free: 5.449 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.1576, allocations: 11.98 kB / 1.034 GB, free: 5.438 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1576, allocations: 12 kB / 1.034 GB, free: 5.426 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.799e-05/0.1577, allocations: 197.1 kB / 1.034 GB, free: 5.23 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.1577, allocations: 0 / 1.034 GB, free: 5.23 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002748/0.158, allocations: 123.6 kB / 1.035 GB, free: 5.109 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.0002555/0.1582, allocations: 175 kB / 1.035 GB, free: 4.93 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.1584, allocations: 91.52 kB / 1.035 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1584, allocations: 0 / 1.035 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.371e-05/0.1585, allocations: 59.53 kB / 1.035 GB, free: 4.773 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.159, allocations: 103.4 kB / 1.035 GB, free: 4.676 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009296/0.16, allocations: 0.5602 MB / 1.036 GB, free: 4.051 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.91e-05/0.16, allocations: 100.2 kB / 1.036 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.1601, allocations: 57.84 kB / 1.036 GB, free: 3.875 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.1602, allocations: 24.5 kB / 1.036 GB, free: 3.852 MB / 0.9948 GB Notification: Performance of SimCode: time 9.12e-07/0.1602, allocations: 0 / 1.036 GB, free: 3.852 MB / 0.9948 GB Notification: Performance of Templates: time 0.00678/0.167, allocations: 5.041 MB / 1.041 GB, free: 14.92 MB / 1.01 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: 6.599012379068881]