Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001285/0.001285, 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.001364/0.001364, 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 1.017/1.017, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.838/1.838, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.519e-06/4.519e-06, allocations: 4 kB / 0.7871 GB, free: 11.67 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.774e-05, allocations: 6.656 kB / 0.7871 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1612/0.1613, allocations: 176.1 MB / 0.9591 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.00759/0.1689, allocations: 8.083 MB / 0.967 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004578/0.1693, allocations: 27.75 kB / 0.967 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.17, allocations: 254.1 kB / 0.9673 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.1726, allocations: 1.267 MB / 0.9685 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.174, allocations: 0.802 MB / 0.9693 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.1751, allocations: 1.075 MB / 0.9703 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004617/0.1755, allocations: 333.9 kB / 0.9706 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.1773, allocations: 1.038 MB / 0.9717 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004608/0.1778, allocations: 406.9 kB / 0.972 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.1778, allocations: 36 kB / 0.9721 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.1789, allocations: 0.81 MB / 0.9729 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1791, allocations: 171.5 kB / 0.973 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1792, allocations: 175.6 kB / 0.9732 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0009963/0.1802, allocations: 0.8099 MB / 0.974 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1802, allocations: 0 / 0.974 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1802, allocations: 0 / 0.974 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.1802, allocations: 0 / 0.974 GB, free: 11.73 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008923/0.1811, allocations: 0.8376 MB / 0.9748 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1811, allocations: 8.031 kB / 0.9748 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006497/0.1818, allocations: 215.2 kB / 0.975 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.1822, allocations: 351.4 kB / 0.9754 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1823, allocations: 29 kB / 0.9754 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.1823, allocations: 39.94 kB / 0.9754 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.1827, allocations: 362.9 kB / 0.9758 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1827, allocations: 0 / 0.9758 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.1828, allocations: 15.98 kB / 0.9758 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1828, allocations: 8 kB / 0.9758 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.183, allocations: 157.7 kB / 0.9759 GB, free: 9.625 MB / 0.8855 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.001449/0.1844, allocations: 1.684 MB / 0.9776 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.1847, allocations: 149 kB / 0.9777 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.1848, allocations: 63.66 kB / 0.9778 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.1851, allocations: 67.88 kB / 0.9779 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1851, allocations: 37.8 kB / 0.9779 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=24): time 2.305e-06/0.1851, allocations: 4 kB / 0.9779 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24): time 0.0004857/0.1856, allocations: 252.7 kB / 0.9781 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.1856, allocations: 55.41 kB / 0.9782 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1858, allocations: 330.2 kB / 0.9785 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1859, allocations: 33.7 kB / 0.9785 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.186, allocations: 290.9 kB / 0.9788 GB, free: 6.547 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.1861, allocations: 91.27 kB / 0.9789 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.1861, allocations: 55.36 kB / 0.979 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1863, allocations: 0.5118 MB / 0.9795 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.1863, allocations: 43.97 kB / 0.9795 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.1865, allocations: 210.5 kB / 0.9797 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.1867, allocations: 177.4 kB / 0.9799 GB, free: 5.363 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1867, allocations: 0 / 0.9799 GB, free: 5.363 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002743/0.187, allocations: 237.1 kB / 0.9801 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.187, allocations: 4 kB / 0.9801 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.187, allocations: 4 kB / 0.9801 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.187, allocations: 8.031 kB / 0.9801 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1872, allocations: 55.91 kB / 0.9802 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1872, allocations: 4 kB / 0.9802 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.369e-05/0.1873, allocations: 27.78 kB / 0.9802 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.1873, allocations: 15.94 kB / 0.9802 GB, free: 5.008 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001089/0.1874, allocations: 172.7 kB / 0.9804 GB, free: 4.828 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.1874, allocations: 47.73 kB / 0.9804 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.1878, allocations: 222.5 kB / 0.9806 GB, free: 4.559 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1878, allocations: 4 kB / 0.9806 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1878, allocations: 0 / 0.9806 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1878, allocations: 3.984 kB / 0.9806 GB, free: 4.551 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008427/0.1886, allocations: 0.7035 MB / 0.9813 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1886, allocations: 0 / 0.9813 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.1887, allocations: 47.92 kB / 0.9814 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1887, allocations: 4 kB / 0.9814 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.1888, allocations: 7.984 kB / 0.9814 GB, free: 3.719 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1888, allocations: 4 kB / 0.9814 GB, free: 3.715 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1888, allocations: 0 / 0.9814 GB, free: 3.715 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.1892, allocations: 451.9 kB / 0.9818 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.1892, allocations: 67.67 kB / 0.9819 GB, free: 3.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.1893, allocations: 8.125 kB / 0.9819 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.1893, allocations: 8 kB / 0.9819 GB, free: 3.145 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.1894, allocations: 27.81 kB / 0.9819 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1894, allocations: 8 kB / 0.9819 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001114/0.1895, allocations: 223 kB / 0.9821 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1895, allocations: 0 / 0.9821 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002874/0.1898, allocations: 119.7 kB / 0.9823 GB, free: 2.773 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.0002465/0.1901, allocations: 162.4 kB / 0.9824 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.1903, allocations: 155.3 kB / 0.9826 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1903, allocations: 0 / 0.9826 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.1904, allocations: 79.52 kB / 0.9826 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.1909, allocations: 141.6 kB / 0.9828 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.192, allocations: 0.7417 MB / 0.9835 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.33e-05/0.1921, allocations: 116.6 kB / 0.9836 GB, free: 1.293 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.1922, allocations: 78.86 kB / 0.9837 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.1923, allocations: 32.48 kB / 0.9837 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of SimCode: time 1.092e-06/0.1923, allocations: 0 / 0.9837 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of Templates: time 0.008344/0.2007, allocations: 5.578 MB / 0.9892 GB, free: 11.76 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.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.470850385027006]