Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009642/0.0009642, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001063/0.001063, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9493/0.9493, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.813/1.813, allocations: 377.8 MB / 0.6236 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 178] 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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.926e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1311/0.1312, allocations: 146.7 MB / 0.9549 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002831/0.134, allocations: 2.308 MB / 0.9571 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.1343, allocations: 19.81 kB / 0.9571 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.1346, allocations: 87.27 kB / 0.9572 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.1361, allocations: 0.6644 MB / 0.9579 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.1371, allocations: 0.5103 MB / 0.9584 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007653/0.1378, allocations: 0.7405 MB / 0.9591 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.1382, allocations: 239.5 kB / 0.9593 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006/0.1388, allocations: 402.9 kB / 0.9597 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.1395, allocations: 414.8 kB / 0.9601 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.1395, allocations: 28 kB / 0.9601 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007019/0.1402, allocations: 482.6 kB / 0.9606 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003199/0.1405, allocations: 123.6 kB / 0.9607 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.1406, allocations: 119.8 kB / 0.9608 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007395/0.1414, allocations: 0.5373 MB / 0.9614 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1414, allocations: 0 / 0.9614 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1414, allocations: 0 / 0.9614 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.1414, allocations: 4 kB / 0.9614 GB, free: 7.805 MB / 0.9167 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.0007679/0.1422, allocations: 0.6787 MB / 0.962 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1422, allocations: 12.03 kB / 0.962 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006256/0.1428, allocations: 192.1 kB / 0.9622 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.1432, allocations: 287.4 kB / 0.9625 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/0.1433, allocations: 72.62 kB / 0.9626 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.1433, allocations: 31.94 kB / 0.9626 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.1437, allocations: 315.9 kB / 0.9629 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1437, allocations: 3.984 kB / 0.9629 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.1437, allocations: 12 kB / 0.9629 GB, free: 6.109 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1437, allocations: 15.94 kB / 0.9629 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.1439, allocations: 118.8 kB / 0.963 GB, free: 5.977 MB / 0.9167 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.001123/0.145, allocations: 1.248 MB / 0.9643 GB, free: 4.672 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1452, allocations: 91.14 kB / 0.9643 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.227e-05/0.1453, allocations: 43.66 kB / 0.9644 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.1455, allocations: 83.91 kB / 0.9645 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1456, allocations: 37.39 kB / 0.9645 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.1456, allocations: 0 / 0.9645 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.000382/0.1459, allocations: 173.3 kB / 0.9647 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.146, allocations: 55.34 kB / 0.9647 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1461, allocations: 280.3 kB / 0.965 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1462, allocations: 29.7 kB / 0.965 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1463, allocations: 247.2 kB / 0.9652 GB, free: 3.582 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.1463, allocations: 55.53 kB / 0.9653 GB, free: 3.527 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.1464, allocations: 51.31 kB / 0.9653 GB, free: 3.465 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1465, allocations: 0.5001 MB / 0.9658 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.999e-05/0.1465, allocations: 23.98 kB / 0.9659 GB, free: 2.93 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1466, allocations: 181.2 kB / 0.966 GB, free: 2.707 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1468, allocations: 121.7 kB / 0.9661 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1468, allocations: 0 / 0.9661 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002296/0.147, allocations: 161.5 kB / 0.9663 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.147, allocations: 14.66 kB / 0.9663 GB, free: 2.383 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.147, allocations: 0 / 0.9663 GB, free: 2.383 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.147, allocations: 4 kB / 0.9663 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1472, allocations: 35.97 kB / 0.9664 GB, free: 2.344 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1472, allocations: 11.88 kB / 0.9664 GB, free: 2.332 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.1473, allocations: 19.89 kB / 0.9664 GB, free: 2.312 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.1473, allocations: 12 kB / 0.9664 GB, free: 2.301 MB / 0.9167 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 9.349e-05/0.1474, allocations: 164.6 kB / 0.9666 GB, free: 2.129 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.1474, allocations: 27.84 kB / 0.9666 GB, free: 2.102 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.1477, allocations: 164.9 kB / 0.9667 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.1477, allocations: 4.031 kB / 0.9667 GB, free: 1.934 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1477, allocations: 11.88 kB / 0.9668 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1477, allocations: 3.984 kB / 0.9668 GB, free: 1.918 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.1483, allocations: 0.6002 MB / 0.9673 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1483, allocations: 0 / 0.9673 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.1483, allocations: 31.92 kB / 0.9674 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1483, allocations: 8.219 kB / 0.9674 GB, free: 1.207 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1484, allocations: 8 kB / 0.9674 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1484, allocations: 4 kB / 0.9674 GB, free: 1.195 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1484, allocations: 0 / 0.9674 GB, free: 1.195 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.1488, allocations: 337.4 kB / 0.9677 GB, free: 0.8164 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.1489, allocations: 43.77 kB / 0.9678 GB, free: 0.7734 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1489, allocations: 4 kB / 0.9678 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.149, allocations: 11.98 kB / 0.9678 GB, free: 0.7578 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.149, allocations: 15.92 kB / 0.9678 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1491, allocations: 11.98 kB / 0.9678 GB, free: 0.7305 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.383e-05/0.1492, allocations: 205.1 kB / 0.968 GB, free: 0.5312 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1492, allocations: 0 / 0.968 GB, free: 0.5312 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003097/0.1495, allocations: 111.7 kB / 0.9681 GB, free: 432 kB / 0.9167 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.0002751/0.1497, allocations: 171 kB / 0.9683 GB, free: 252 kB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.1499, allocations: 94.42 kB / 0.9684 GB, free: 156 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1499, allocations: 0 / 0.9684 GB, free: 156 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.167e-05/0.15, allocations: 55.59 kB / 0.9684 GB, free: 96 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.1504, allocations: 107.7 kB / 0.9685 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009331/0.1513, allocations: 0.5641 MB / 0.9691 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.796e-05/0.1514, allocations: 100.2 kB / 0.9692 GB, free: 15.24 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.1515, allocations: 53.91 kB / 0.9692 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.1516, allocations: 32.44 kB / 0.9692 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of SimCode: time 6.41e-07/0.1516, allocations: 0 / 0.9692 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of Templates: time 0.008952/0.1606, allocations: 5.701 MB / 0.9748 GB, free: 9.574 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.288913508877158]