Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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.000998/0.000998, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009681/0.0009681, allocations: 177 kB / 23.36 MB, free: 1.133 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.9818/0.9818, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.434/2.434, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.654e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1735/0.1735, allocations: 142.7 MB / 0.978 GB, free: 14.9 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01996/0.1935, allocations: 15.1 MB / 0.9927 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.196, allocations: 79.38 kB / 0.9928 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.004482/0.2005, allocations: 1.622 MB / 0.9944 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.006545/0.207, allocations: 2.915 MB / 0.9972 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.2107, allocations: 1.977 MB / 0.9992 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.009931/0.2207, allocations: 8.189 MB / 1.007 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00313/0.2238, allocations: 1.247 MB / 1.008 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004966/0.2288, allocations: 2.616 MB / 1.011 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.2311, allocations: 1.18 MB / 1.012 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0004756/0.2315, allocations: 184 kB / 1.012 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003518/0.235, allocations: 1.872 MB / 1.014 GB, free: 9.809 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0006887/0.2357, allocations: 0.6852 MB / 1.015 GB, free: 9.121 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.2369, allocations: 0.756 MB / 1.015 GB, free: 8.363 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.004972/0.2419, allocations: 2.855 MB / 1.018 GB, free: 5.5 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2419, allocations: 0 / 1.018 GB, free: 5.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2419, allocations: 0 / 1.018 GB, free: 5.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.886e-05/0.242, allocations: 0 / 1.018 GB, free: 5.5 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.003733/0.2457, allocations: 2.52 MB / 1.021 GB, free: 2.93 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.2457, allocations: 12.62 kB / 1.021 GB, free: 2.918 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.2478, allocations: 0.6234 MB / 1.021 GB, free: 2.293 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.2504, allocations: 1.815 MB / 1.023 GB, free: 412 kB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/0.2504, allocations: 82.09 kB / 1.023 GB, free: 328 kB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.2506, allocations: 112 kB / 1.023 GB, free: 216 kB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.2518, allocations: 1.142 MB / 1.024 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.2518, allocations: 11.89 kB / 1.024 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.2519, allocations: 43.94 kB / 1.024 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.252, allocations: 28 kB / 1.025 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.2525, allocations: 378 kB / 1.025 GB, free: 14.47 MB / 0.9948 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.004524/0.257, allocations: 4.143 MB / 1.029 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.2577, allocations: 0.5407 MB / 1.029 GB, free: 9.617 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.2578, allocations: 152.9 kB / 1.03 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002838/0.2607, allocations: 1.446 MB / 1.031 GB, free: 8.016 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004832/0.2612, allocations: 497.8 kB / 1.031 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=67): time 1.874e-06/0.2612, allocations: 0 / 1.031 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of matching and sorting (n=81): time 0.01964/0.2808, allocations: 8.008 MB / 1.039 GB, free: 15.4 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.2809, allocations: 166.9 kB / 1.039 GB, free: 15.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.2822, allocations: 1.443 MB / 1.041 GB, free: 13.71 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/0.2823, allocations: 41.7 kB / 1.041 GB, free: 13.66 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.2827, allocations: 0.6167 MB / 1.042 GB, free: 13.04 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.2829, allocations: 297.4 kB / 1.042 GB, free: 12.74 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.2831, allocations: 218.7 kB / 1.042 GB, free: 12.52 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.2832, allocations: 353.8 kB / 1.042 GB, free: 12.17 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.2834, allocations: 137.4 kB / 1.042 GB, free: 12.04 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.2838, allocations: 0.629 MB / 1.043 GB, free: 11.21 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/0.2844, allocations: 0.715 MB / 1.044 GB, free: 10.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.2844, allocations: 8.062 kB / 1.044 GB, free: 10.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001288/0.2857, allocations: 0.8269 MB / 1.045 GB, free: 9.492 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.2858, allocations: 8 kB / 1.045 GB, free: 9.484 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.2858, allocations: 12 kB / 1.045 GB, free: 9.473 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004328/0.2862, allocations: 180.4 kB / 1.045 GB, free: 9.289 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.2867, allocations: 251.6 kB / 1.045 GB, free: 9.043 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.2892, allocations: 3.203 MB / 1.048 GB, free: 5.664 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/0.2901, allocations: 75.89 kB / 1.048 GB, free: 5.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.205e-05/0.2902, allocations: 47.97 kB / 1.048 GB, free: 5.543 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 122 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004112/0.2906, allocations: 192.4 kB / 1.048 GB, free: 5.344 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/0.2909, allocations: 175.3 kB / 1.049 GB, free: 5.172 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.2922, allocations: 0.8461 MB / 1.049 GB, free: 4.293 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.2922, allocations: 12 kB / 1.049 GB, free: 4.281 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2922, allocations: 0 / 1.049 GB, free: 4.281 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006424/0.2928, allocations: 0.653 MB / 1.05 GB, free: 3.555 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5404/0.8332, allocations: 22.39 MB / 1.072 GB, free: 80.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.8332, allocations: 5.125 kB / 1.072 GB, free: 80.67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.8337, allocations: 187.7 kB / 1.072 GB, free: 80.67 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000346/0.8341, allocations: 129.6 kB / 1.072 GB, free: 80.66 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.8341, allocations: 33.48 kB / 1.072 GB, free: 80.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.8355, allocations: 1.774 MB / 1.074 GB, free: 79.32 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8355, allocations: 9.656 kB / 1.074 GB, free: 79.32 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.8371, allocations: 1.005 MB / 1.075 GB, free: 78.91 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.8376, allocations: 220.9 kB / 1.075 GB, free: 78.91 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.8378, allocations: 29.06 kB / 1.075 GB, free: 78.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005095/0.8383, allocations: 51.25 kB / 1.075 GB, free: 78.91 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.8384, allocations: 84.7 kB / 1.075 GB, free: 78.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.8385, allocations: 31.19 kB / 1.075 GB, free: 78.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000861/0.8394, allocations: 0.673 MB / 1.076 GB, free: 78.82 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8394, allocations: 0.5469 kB / 1.076 GB, free: 78.82 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00313/0.8425, allocations: 1.053 MB / 1.077 GB, free: 78.82 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 6 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.motSpe.y,bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004149/0.8466, allocations: 1.023 MB / 1.078 GB, free: 78.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.8481, allocations: 0.8212 MB / 1.079 GB, free: 78.42 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.257e-05/0.8482, allocations: 23.52 kB / 1.079 GB, free: 78.42 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000499/0.8487, allocations: 416.8 kB / 1.079 GB, free: 78.29 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/0.8511, allocations: 1.021 MB / 1.08 GB, free: 78.14 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.8553, allocations: 3.05 MB / 1.083 GB, free: 76.61 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.8556, allocations: 402.2 kB / 1.084 GB, free: 76.51 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00121/0.8568, allocations: 364.2 kB / 1.084 GB, free: 76.36 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/0.8582, allocations: 0.6835 MB / 1.085 GB, free: 76.27 MB / 1.01 GB Notification: Performance of SimCode: time 2.525e-06/0.8582, allocations: 4 kB / 1.085 GB, free: 76.26 MB / 1.01 GB Notification: Performance of Templates: time 0.07434/0.9325, allocations: 69.31 MB / 1.152 GB, free: 44.15 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.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: 7.314615197945386]