Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001265/0.001265, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00141/0.00141, allocations: 161 kB / 24.16 MB, free: 336 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.9106/0.9106, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.742/1.742, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_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_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.493e-05, allocations: 6.25 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1206/0.1206, allocations: 142.7 MB / 0.8994 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.1372, allocations: 15.11 MB / 0.9141 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.1387, allocations: 87.31 kB / 0.9142 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002939/0.1416, allocations: 1.641 MB / 0.9158 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.1466, allocations: 2.997 MB / 0.9187 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.1493, allocations: 2.001 MB / 0.9207 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.007727/0.157, allocations: 8.207 MB / 0.9287 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.1585, allocations: 1.335 MB / 0.93 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/0.1615, allocations: 2.683 MB / 0.9326 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.1626, allocations: 1.169 MB / 0.9338 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.1628, allocations: 188 kB / 0.9339 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.165, allocations: 1.771 MB / 0.9357 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003971/0.1654, allocations: 0.6813 MB / 0.9363 GB, free: 1.609 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0006281/0.166, allocations: 0.756 MB / 0.9371 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002773/0.1688, allocations: 2.851 MB / 0.9399 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1688, allocations: 0 / 0.9399 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1688, allocations: 4 kB / 0.9399 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.1688, allocations: 0 / 0.9399 GB, free: 13.99 MB / 0.9011 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.002572/0.1714, allocations: 2.528 MB / 0.9423 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.1714, allocations: 8.031 kB / 0.9423 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.1731, allocations: 0.6195 MB / 0.9429 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.1751, allocations: 1.816 MB / 0.9447 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.1752, allocations: 78.09 kB / 0.9448 GB, free: 8.812 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.1753, allocations: 112 kB / 0.9449 GB, free: 8.703 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.1765, allocations: 1.152 MB / 0.946 GB, free: 7.41 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.1765, allocations: 7.984 kB / 0.946 GB, free: 7.402 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.1766, allocations: 43.94 kB / 0.9461 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1766, allocations: 28 kB / 0.9461 GB, free: 7.332 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.1771, allocations: 382 kB / 0.9465 GB, free: 6.957 MB / 0.9011 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.003552/0.1806, allocations: 4.139 MB / 0.9505 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.1812, allocations: 0.5502 MB / 0.951 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.1814, allocations: 140.7 kB / 0.9512 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002566/0.1839, allocations: 1.45 MB / 0.9526 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006342/0.1846, allocations: 493.8 kB / 0.9531 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=67): time 1.663e-06/0.1846, allocations: 0 / 0.9531 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81): time 0.01791/0.2025, allocations: 8.002 MB / 0.9609 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.2025, allocations: 170.9 kB / 0.961 GB, free: 7.691 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.2038, allocations: 1.451 MB / 0.9625 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.2039, allocations: 45.7 kB / 0.9625 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005157/0.2044, allocations: 0.6128 MB / 0.9631 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.2045, allocations: 305.3 kB / 0.9634 GB, free: 5.215 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.2047, allocations: 210.8 kB / 0.9636 GB, free: 5.004 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.2048, allocations: 361.8 kB / 0.9639 GB, free: 4.645 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.205, allocations: 129.4 kB / 0.9641 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.2054, allocations: 0.633 MB / 0.9647 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.206, allocations: 0.6994 MB / 0.9654 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.206, allocations: 4 kB / 0.9654 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001116/0.2072, allocations: 0.8308 MB / 0.9662 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2072, allocations: 8 kB / 0.9662 GB, free: 1.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.2072, allocations: 16 kB / 0.9662 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.2076, allocations: 184.2 kB / 0.9664 GB, free: 1.777 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.2083, allocations: 231.6 kB / 0.9666 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.2104, allocations: 3.201 MB / 0.9697 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006153/0.211, allocations: 72.58 kB / 0.9698 GB, free: 14.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.2111, allocations: 51.97 kB / 0.9698 GB, free: 14.05 MB / 0.9323 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.0002853/0.2113, allocations: 192.2 kB / 0.97 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.2116, allocations: 167.4 kB / 0.9702 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.2128, allocations: 0.8543 MB / 0.971 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2128, allocations: 15.94 kB / 0.971 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.2128, allocations: 0 / 0.971 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005908/0.2134, allocations: 0.6453 MB / 0.9717 GB, free: 12.07 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04149/0.2548, allocations: 22.41 MB / 0.9935 GB, free: 5.535 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.2549, allocations: 8 kB / 0.9936 GB, free: 5.527 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.2552, allocations: 159.7 kB / 0.9937 GB, free: 5.371 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/0.2555, allocations: 124 kB / 0.9938 GB, free: 5.246 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.2555, allocations: 27.98 kB / 0.9938 GB, free: 5.219 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.2571, allocations: 1.768 MB / 0.9956 GB, free: 3.355 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.2571, allocations: 8 kB / 0.9956 GB, free: 3.348 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.2582, allocations: 1.018 MB / 0.9966 GB, free: 2.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/0.2586, allocations: 222.6 kB / 0.9968 GB, free: 2.012 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.2587, allocations: 24 kB / 0.9968 GB, free: 1.988 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.2592, allocations: 55.95 kB / 0.9969 GB, free: 1.934 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.2593, allocations: 72.41 kB / 0.9969 GB, free: 1.863 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.2593, allocations: 31.98 kB / 0.997 GB, free: 1.832 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005299/0.2598, allocations: 0.6752 MB / 0.9976 GB, free: 1.129 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2598, allocations: 0 / 0.9976 GB, free: 1.129 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001952/0.2618, allocations: 1.054 MB / 0.9987 GB, free: 76 kB / 0.948 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.003163/0.2649, allocations: 1.033 MB / 0.9997 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.266, allocations: 0.8246 MB / 1 GB, free: 14.42 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.281e-05/0.266, allocations: 24.5 kB / 1 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.2665, allocations: 410.3 kB / 1.001 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.2683, allocations: 1.041 MB / 1.002 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.2718, allocations: 3.055 MB / 1.005 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.2721, allocations: 401.2 kB / 1.005 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007643/0.2729, allocations: 367.8 kB / 1.006 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.274, allocations: 0.6824 MB / 1.006 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of SimCode: time 1.062e-06/0.2741, allocations: 7.938 kB / 1.006 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of Templates: time 0.3928/0.6668, allocations: 69.38 MB / 1.074 GB, free: 149.1 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 6.720055527053773]