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.0009021/0.0009021, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001017/0.001017, allocations: 169 kB / 24.28 MB, free: 276 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 0.9876/0.9876, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.933/1.933, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.884e-06/1.884e-06, allocations: 0 / 0.8116 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.878e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1492/0.1492, allocations: 165.8 MB / 0.9735 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.006837/0.1561, allocations: 7.389 MB / 0.9807 GB, free: 4.289 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000439/0.1565, allocations: 15.88 kB / 0.9807 GB, free: 4.273 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0007068/0.1572, allocations: 186.6 kB / 0.9809 GB, free: 4.09 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.1599, allocations: 1.325 MB / 0.9822 GB, free: 2.758 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.1613, allocations: 0.697 MB / 0.9829 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0007317/0.162, allocations: 0.7484 MB / 0.9836 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.1623, allocations: 235.3 kB / 0.9838 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.1636, allocations: 0.8448 MB / 0.9847 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006599/0.1642, allocations: 422.7 kB / 0.9851 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.1643, allocations: 28 kB / 0.9851 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.1659, allocations: 1.051 MB / 0.9861 GB, free: 14.74 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.166, allocations: 127.6 kB / 0.9862 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1661, allocations: 127.7 kB / 0.9864 GB, free: 14.49 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.1674, allocations: 0.8178 MB / 0.9872 GB, free: 13.67 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1674, allocations: 0 / 0.9872 GB, free: 13.67 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1674, allocations: 0 / 0.9872 GB, free: 13.67 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.1674, allocations: 0 / 0.9872 GB, free: 13.67 MB / 0.948 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.000892/0.1683, allocations: 0.7324 MB / 0.9879 GB, free: 12.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1683, allocations: 8.031 kB / 0.9879 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009257/0.1693, allocations: 195.2 kB / 0.9881 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.1696, allocations: 286.8 kB / 0.9883 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.903e-05/0.1697, allocations: 72.06 kB / 0.9884 GB, free: 12.31 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.1698, allocations: 28 kB / 0.9884 GB, free: 12.28 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.1702, allocations: 315.9 kB / 0.9887 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1702, allocations: 3.938 kB / 0.9887 GB, free: 11.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.1702, allocations: 16 kB / 0.9887 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1702, allocations: 4 kB / 0.9888 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1704, allocations: 114.9 kB / 0.9889 GB, free: 11.8 MB / 0.948 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.001177/0.1716, allocations: 1.264 MB / 0.9901 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1718, allocations: 75.16 kB / 0.9902 GB, free: 10.39 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.445e-05/0.1718, allocations: 39.67 kB / 0.9902 GB, free: 10.35 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/0.1722, allocations: 127.9 kB / 0.9903 GB, free: 10.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1722, allocations: 45.25 kB / 0.9904 GB, free: 10.17 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 2.484e-06/0.1722, allocations: 4 kB / 0.9904 GB, free: 10.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0005385/0.1728, allocations: 169.3 kB / 0.9905 GB, free: 9.996 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.1728, allocations: 55.41 kB / 0.9906 GB, free: 9.93 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.173, allocations: 276.3 kB / 0.9909 GB, free: 9.645 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.173, allocations: 29.7 kB / 0.9909 GB, free: 9.609 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1731, allocations: 251.2 kB / 0.9911 GB, free: 9.359 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.1732, allocations: 55.53 kB / 0.9912 GB, free: 9.305 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.1732, allocations: 51.31 kB / 0.9912 GB, free: 9.246 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1734, allocations: 0.5079 MB / 0.9917 GB, free: 8.727 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.1734, allocations: 23.98 kB / 0.9917 GB, free: 8.703 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1735, allocations: 173.1 kB / 0.9919 GB, free: 8.488 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1737, allocations: 129.7 kB / 0.992 GB, free: 8.332 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1737, allocations: 0 / 0.992 GB, free: 8.332 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002581/0.1739, allocations: 159.7 kB / 0.9922 GB, free: 8.172 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.174, allocations: 11.94 kB / 0.9922 GB, free: 8.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.174, allocations: 3.984 kB / 0.9922 GB, free: 8.156 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.174, allocations: 4 kB / 0.9922 GB, free: 8.152 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1741, allocations: 43.91 kB / 0.9922 GB, free: 8.109 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.1741, allocations: 4.188 kB / 0.9922 GB, free: 8.105 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.1742, allocations: 19.89 kB / 0.9923 GB, free: 8.086 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.1742, allocations: 15.98 kB / 0.9923 GB, free: 8.07 MB / 0.948 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.0001011/0.1743, allocations: 164.5 kB / 0.9924 GB, free: 7.898 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.1744, allocations: 35.8 kB / 0.9925 GB, free: 7.863 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.1747, allocations: 172.9 kB / 0.9926 GB, free: 7.691 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1747, allocations: 0 / 0.9926 GB, free: 7.691 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1747, allocations: 0 / 0.9926 GB, free: 7.691 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1747, allocations: 3.984 kB / 0.9926 GB, free: 7.688 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.1754, allocations: 0.6159 MB / 0.9932 GB, free: 7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1754, allocations: 0 / 0.9932 GB, free: 7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.765e-05/0.1755, allocations: 27.98 kB / 0.9933 GB, free: 6.973 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1755, allocations: 7.938 kB / 0.9933 GB, free: 6.965 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1755, allocations: 8 kB / 0.9933 GB, free: 6.957 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.1755, allocations: 11.92 kB / 0.9933 GB, free: 6.945 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1755, allocations: 4.219 kB / 0.9933 GB, free: 6.941 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.1758, allocations: 349.3 kB / 0.9936 GB, free: 6.551 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.1759, allocations: 43.83 kB / 0.9937 GB, free: 6.508 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1759, allocations: 11.98 kB / 0.9937 GB, free: 6.496 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.176, allocations: 8 kB / 0.9937 GB, free: 6.488 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.176, allocations: 19.91 kB / 0.9937 GB, free: 6.469 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.176, allocations: 8 kB / 0.9937 GB, free: 6.461 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.79e-05/0.1761, allocations: 197.1 kB / 0.9939 GB, free: 6.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1761, allocations: 0 / 0.9939 GB, free: 6.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003902/0.1765, allocations: 139.6 kB / 0.994 GB, free: 6.133 MB / 0.948 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.0004141/0.177, allocations: 230.9 kB / 0.9943 GB, free: 5.898 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.1772, allocations: 96.5 kB / 0.9944 GB, free: 5.801 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1772, allocations: 0 / 0.9944 GB, free: 5.801 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.1772, allocations: 59.58 kB / 0.9944 GB, free: 5.738 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.1777, allocations: 108 kB / 0.9945 GB, free: 5.637 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.179, allocations: 0.5639 MB / 0.9951 GB, free: 5.004 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.687e-05/0.1791, allocations: 100.3 kB / 0.9952 GB, free: 4.887 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.1792, allocations: 70.19 kB / 0.9952 GB, free: 4.82 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.1793, allocations: 24.5 kB / 0.9953 GB, free: 4.793 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/0.1793, allocations: 0 / 0.9953 GB, free: 4.793 MB / 0.948 GB Notification: Performance of Templates: time 0.009308/0.1886, allocations: 6.108 MB / 1.001 GB, free: 14.82 MB / 0.9636 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.5764725029002875]