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.00146/0.00146, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001474/0.001474, allocations: 173 kB / 23.49 MB, free: 1.059 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.9432/0.9432, allocations: 177.1 MB / 203.8 MB, free: 5.66 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.069/2.069, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.893e-06/1.893e-06, allocations: 0 / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.351e-05, allocations: 3.5 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1542/0.1542, allocations: 165.8 MB / 1.04 GB, free: 244 kB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006172/0.1604, allocations: 7.356 MB / 1.047 GB, free: 8.859 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003673/0.1607, allocations: 19.81 kB / 1.047 GB, free: 8.84 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005859/0.1613, allocations: 174.7 kB / 1.048 GB, free: 8.668 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.1636, allocations: 1.333 MB / 1.049 GB, free: 7.328 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.1648, allocations: 0.6814 MB / 1.049 GB, free: 6.645 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0007261/0.1655, allocations: 0.7366 MB / 1.05 GB, free: 5.906 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.1659, allocations: 223.3 kB / 1.05 GB, free: 5.691 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.1669, allocations: 0.837 MB / 1.051 GB, free: 4.852 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.1674, allocations: 422.8 kB / 1.052 GB, free: 4.438 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.1675, allocations: 24 kB / 1.052 GB, free: 4.414 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.1686, allocations: 1.051 MB / 1.053 GB, free: 3.359 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1687, allocations: 123.6 kB / 1.053 GB, free: 3.238 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1688, allocations: 127.7 kB / 1.053 GB, free: 3.113 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000861/0.1696, allocations: 0.8178 MB / 1.054 GB, free: 2.293 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1696, allocations: 7.984 kB / 1.054 GB, free: 2.285 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1696, allocations: 0 / 1.054 GB, free: 2.285 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1697, allocations: 4 kB / 1.054 GB, free: 2.281 MB / 1.01 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.0007029/0.1704, allocations: 0.7169 MB / 1.054 GB, free: 1.523 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1704, allocations: 8.031 kB / 1.054 GB, free: 1.516 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006768/0.1711, allocations: 187.2 kB / 1.055 GB, free: 1.332 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.1714, allocations: 282.8 kB / 1.055 GB, free: 1.031 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.231e-05/0.1715, allocations: 80 kB / 1.055 GB, free: 0.9414 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.1715, allocations: 24 kB / 1.055 GB, free: 0.918 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.1719, allocations: 319.9 kB / 1.055 GB, free: 0.5664 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1719, allocations: 0 / 1.055 GB, free: 0.5664 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.1719, allocations: 12 kB / 1.055 GB, free: 0.5547 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1719, allocations: 8 kB / 1.055 GB, free: 0.5469 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.1721, allocations: 114.8 kB / 1.055 GB, free: 448 kB / 1.01 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.3788/0.5509, allocations: 1.263 MB / 1.057 GB, free: 223.1 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.5511, allocations: 79.31 kB / 1.057 GB, free: 223 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/0.5511, allocations: 43.16 kB / 1.057 GB, free: 223 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/0.5515, allocations: 127.2 kB / 1.057 GB, free: 223 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.5516, allocations: 42.83 kB / 1.057 GB, free: 223 MB / 1.01 GB Notification: Performance of pre-optimization done (n=15): time 2.625e-06/0.5516, allocations: 0.6562 kB / 1.057 GB, free: 223 MB / 1.01 GB Notification: Performance of matching and sorting (n=15): time 0.0004498/0.552, allocations: 175.3 kB / 1.057 GB, free: 222.9 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.552, allocations: 52.03 kB / 1.057 GB, free: 222.9 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.5522, allocations: 280.5 kB / 1.057 GB, free: 222.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.5522, allocations: 28.7 kB / 1.057 GB, free: 222.7 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.5523, allocations: 241.1 kB / 1.058 GB, free: 222.6 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.5523, allocations: 54.98 kB / 1.058 GB, free: 222.5 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.5524, allocations: 58.25 kB / 1.058 GB, free: 222.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.446e-05/0.5524, allocations: 0.5011 MB / 1.058 GB, free: 222 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.5525, allocations: 22.05 kB / 1.058 GB, free: 222 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.731e-05/0.5526, allocations: 177.9 kB / 1.058 GB, free: 221.8 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.5527, allocations: 129.9 kB / 1.059 GB, free: 221.8 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5527, allocations: 0.5312 kB / 1.059 GB, free: 221.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002313/0.5529, allocations: 167.6 kB / 1.059 GB, free: 221.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5529, allocations: 7.625 kB / 1.059 GB, free: 221.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5529, allocations: 0 / 1.059 GB, free: 221.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5529, allocations: 2.781 kB / 1.059 GB, free: 221.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.5531, allocations: 42.5 kB / 1.059 GB, free: 221.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.5531, allocations: 3.188 kB / 1.059 GB, free: 221.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.644e-05/0.5532, allocations: 17.16 kB / 1.059 GB, free: 221.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.5532, allocations: 14.36 kB / 1.059 GB, free: 221.7 MB / 1.01 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 7.378e-05/0.5533, allocations: 167 kB / 1.059 GB, free: 221.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.5533, allocations: 35.16 kB / 1.059 GB, free: 221.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.5536, allocations: 177.9 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.5536, allocations: 3.031 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5536, allocations: 0.5625 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5536, allocations: 0.5469 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.5541, allocations: 0.6136 MB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.5541, allocations: 2.562 kB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-05/0.5542, allocations: 35.23 kB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5542, allocations: 4.688 kB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.5542, allocations: 10.41 kB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5542, allocations: 2.531 kB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5542, allocations: 2.5 kB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.5544, allocations: 350 kB / 1.06 GB, free: 220.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.5545, allocations: 53.16 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.5545, allocations: 6.219 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.5546, allocations: 10.44 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.5547, allocations: 21.56 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.5547, allocations: 15.89 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 6.552e-05/0.5547, allocations: 187.2 kB / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5547, allocations: 1.688 kB / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003606/0.5551, allocations: 136.6 kB / 1.061 GB, free: 220.5 MB / 1.01 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 (16): * Single equations (assignments): 16 * 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.0003142/0.5554, allocations: 219.8 kB / 1.061 GB, free: 220.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.5556, allocations: 98.78 kB / 1.061 GB, free: 220.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5556, allocations: 1.312 kB / 1.061 GB, free: 220.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.189e-05/0.5557, allocations: 57.48 kB / 1.061 GB, free: 220.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.5561, allocations: 104.9 kB / 1.061 GB, free: 220.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008643/0.5569, allocations: 0.5574 MB / 1.062 GB, free: 219.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.557, allocations: 98.23 kB / 1.062 GB, free: 219.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.5571, allocations: 64.72 kB / 1.062 GB, free: 219.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.5572, allocations: 25.62 kB / 1.062 GB, free: 219.8 MB / 1.01 GB Notification: Performance of SimCode: time 6.11e-07/0.5572, allocations: 0 / 1.062 GB, free: 219.8 MB / 1.01 GB Notification: Performance of Templates: time 0.007242/0.5644, allocations: 5.989 MB / 1.068 GB, free: 219.3 MB / 1.01 GB " [Timeout remaining time 299] 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.1310074659995735]