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.001053/0.001053, 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.001201/0.001201, 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 1.073/1.073, allocations: 177.1 MB / 204.2 MB, free: 5.613 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 2.021/2.021, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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.293e-06/1.293e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.432e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1523/0.1523, allocations: 146.7 MB / 0.9549 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003469/0.1558, allocations: 2.313 MB / 0.9571 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.156, allocations: 19.81 kB / 0.9571 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.1564, allocations: 87.27 kB / 0.9572 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.158, allocations: 0.6606 MB / 0.9579 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1592, allocations: 0.5064 MB / 0.9584 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007865/0.16, allocations: 0.7483 MB / 0.9591 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.1604, allocations: 243.5 kB / 0.9593 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005803/0.1609, allocations: 398.9 kB / 0.9597 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007296/0.1617, allocations: 406.8 kB / 0.9601 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.1617, allocations: 24 kB / 0.9601 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009273/0.1626, allocations: 494.6 kB / 0.9606 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1628, allocations: 119.6 kB / 0.9607 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.1629, allocations: 127.7 kB / 0.9608 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.1637, allocations: 0.5257 MB / 0.9613 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1637, allocations: 3.938 kB / 0.9613 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1637, allocations: 0 / 0.9613 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.1637, allocations: 0 / 0.9613 GB, free: 7.836 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.0008339/0.1645, allocations: 0.6827 MB / 0.962 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1646, allocations: 8.031 kB / 0.962 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000792/0.1654, allocations: 192.1 kB / 0.9622 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.1658, allocations: 283.4 kB / 0.9625 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.478e-05/0.1659, allocations: 72.62 kB / 0.9625 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.1659, allocations: 27.94 kB / 0.9626 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.1664, allocations: 327.8 kB / 0.9629 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1664, allocations: 0 / 0.9629 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.1664, allocations: 8 kB / 0.9629 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.1664, allocations: 8 kB / 0.9629 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.1667, allocations: 118.9 kB / 0.963 GB, free: 6.02 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.001517/0.1682, allocations: 1.268 MB / 0.9642 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.1684, allocations: 79.16 kB / 0.9643 GB, free: 4.605 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.1685, allocations: 39.67 kB / 0.9644 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/0.1688, allocations: 87.91 kB / 0.9644 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1688, allocations: 37.39 kB / 0.9645 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 2.305e-06/0.1688, allocations: 0 / 0.9645 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0004918/0.1693, allocations: 175 kB / 0.9646 GB, free: 4.254 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1694, allocations: 59.34 kB / 0.9647 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1696, allocations: 272.3 kB / 0.965 GB, free: 3.902 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.1696, allocations: 33.7 kB / 0.965 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.1698, allocations: 243.2 kB / 0.9652 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.1698, allocations: 55.53 kB / 0.9653 GB, free: 3.566 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.1699, allocations: 55.31 kB / 0.9653 GB, free: 3.504 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.17, allocations: 0.5079 MB / 0.9658 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.1701, allocations: 15.98 kB / 0.9658 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1702, allocations: 174.9 kB / 0.966 GB, free: 2.746 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.1704, allocations: 125.7 kB / 0.9661 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1704, allocations: 4 kB / 0.9661 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003051/0.1707, allocations: 160.7 kB / 0.9663 GB, free: 2.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1707, allocations: 7.984 kB / 0.9663 GB, free: 2.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1707, allocations: 4 kB / 0.9663 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.1708, allocations: 3.938 kB / 0.9663 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.1709, allocations: 35.98 kB / 0.9663 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1709, allocations: 7.922 kB / 0.9663 GB, free: 2.371 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.171, allocations: 24.08 kB / 0.9664 GB, free: 2.348 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.1711, allocations: 19.98 kB / 0.9664 GB, free: 2.328 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 0.0001092/0.1712, allocations: 164.5 kB / 0.9665 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.1713, allocations: 31.86 kB / 0.9666 GB, free: 2.125 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.1716, allocations: 155.3 kB / 0.9667 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1716, allocations: 4 kB / 0.9667 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1716, allocations: 3.938 kB / 0.9667 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1716, allocations: 0 / 0.9667 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007825/0.1724, allocations: 0.5964 MB / 0.9673 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1724, allocations: 7.938 kB / 0.9673 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.1725, allocations: 35.92 kB / 0.9674 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1725, allocations: 0 / 0.9674 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1725, allocations: 4 kB / 0.9674 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1725, allocations: 4 kB / 0.9674 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1725, allocations: 4 kB / 0.9674 GB, free: 1.238 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.1728, allocations: 344.2 kB / 0.9677 GB, free: 0.8555 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.1729, allocations: 47.75 kB / 0.9677 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1729, allocations: 8.125 kB / 0.9677 GB, free: 0.8008 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.1731, allocations: 8 kB / 0.9678 GB, free: 0.793 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.1731, allocations: 19.91 kB / 0.9678 GB, free: 0.7734 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.1731, allocations: 12 kB / 0.9678 GB, free: 0.7617 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001259/0.1733, allocations: 193.1 kB / 0.968 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1733, allocations: 4 kB / 0.968 GB, free: 0.5703 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004685/0.1737, allocations: 111.7 kB / 0.9681 GB, free: 472 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.000358/0.1741, allocations: 179 kB / 0.9683 GB, free: 284 kB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.1743, allocations: 91.52 kB / 0.9683 GB, free: 188 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1743, allocations: 4 kB / 0.9683 GB, free: 184 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.1744, allocations: 52.23 kB / 0.9684 GB, free: 128 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.175, allocations: 113.7 kB / 0.9685 GB, free: 20 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.1762, allocations: 0.5602 MB / 0.969 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.876e-05/0.1762, allocations: 108.2 kB / 0.9692 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.1764, allocations: 57.91 kB / 0.9692 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.1765, allocations: 20.5 kB / 0.9692 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of SimCode: time 1.143e-06/0.1765, allocations: 0 / 0.9692 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of Templates: time 0.009532/0.186, allocations: 5.17 MB / 0.9743 GB, free: 10.14 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.867027509026229]