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.0008682/0.0008682, 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.0008884/0.0008884, 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.9793/0.9793, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.855/1.855, 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.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 3.186e-06/3.186e-06, allocations: 4 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.981e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1626/0.1627, allocations: 187.5 MB / 0.9946 GB, free: 6 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0268/0.1895, allocations: 26.51 MB / 1.02 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.1916, allocations: 79.38 kB / 1.021 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.00425/0.1958, allocations: 2.01 MB / 1.023 GB, free: 9.316 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.008697/0.2045, allocations: 4.65 MB / 1.027 GB, free: 4.645 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.004766/0.2093, allocations: 2.616 MB / 1.03 GB, free: 2.023 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.009033/0.2183, allocations: 8.538 MB / 1.038 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.2201, allocations: 1.318 MB / 1.039 GB, free: 8.121 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00533/0.2254, allocations: 3.657 MB / 1.043 GB, free: 4.461 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.2269, allocations: 1.255 MB / 1.044 GB, free: 3.203 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002737/0.2272, allocations: 192 kB / 1.044 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4856/0.7127, allocations: 3.947 MB / 1.048 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008837/0.7136, allocations: 0.69 MB / 1.049 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.7151, allocations: 0.7666 MB / 1.049 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.008249/0.7234, allocations: 4.404 MB / 1.054 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.7234, allocations: 0 / 1.054 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7234, allocations: 0 / 1.054 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.562e-05/0.7235, allocations: 0 / 1.054 GB, free: 64.23 MB / 0.9948 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.00491/0.7284, allocations: 2.898 MB / 1.057 GB, free: 62.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.7284, allocations: 10.91 kB / 1.057 GB, free: 62.79 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/0.731, allocations: 0.7384 MB / 1.057 GB, free: 62.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/0.734, allocations: 2.569 MB / 1.06 GB, free: 62.07 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/0.734, allocations: 82.75 kB / 1.06 GB, free: 62.07 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.7341, allocations: 116.4 kB / 1.06 GB, free: 62.07 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.7356, allocations: 1.241 MB / 1.061 GB, free: 61.5 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.7356, allocations: 6.922 kB / 1.061 GB, free: 61.49 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/0.7357, allocations: 42.75 kB / 1.061 GB, free: 61.49 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.7357, allocations: 27 kB / 1.061 GB, free: 61.49 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009215/0.7366, allocations: 0.5104 MB / 1.062 GB, free: 61.48 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.005249/0.7419, allocations: 5.813 MB / 1.068 GB, free: 58.57 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/0.7427, allocations: 0.507 MB / 1.068 GB, free: 58.46 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.7429, allocations: 202 kB / 1.068 GB, free: 58.43 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003598/0.7465, allocations: 1.878 MB / 1.07 GB, free: 58.41 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005103/0.747, allocations: 0.5214 MB / 1.071 GB, free: 58.08 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=67): time 2.765e-06/0.747, allocations: 0 / 1.071 GB, free: 58.08 MB / 0.9948 GB Notification: Performance of matching and sorting (n=81): time 0.02411/0.7711, allocations: 10.89 MB / 1.081 GB, free: 55.72 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.7712, allocations: 168.5 kB / 1.081 GB, free: 55.53 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.7729, allocations: 1.604 MB / 1.083 GB, free: 55.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/0.773, allocations: 48.86 kB / 1.083 GB, free: 55.17 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.7736, allocations: 1.016 MB / 1.084 GB, free: 54.81 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.7737, allocations: 300.8 kB / 1.084 GB, free: 54.62 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.774, allocations: 228 kB / 1.084 GB, free: 54.59 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.7741, allocations: 0.5141 MB / 1.085 GB, free: 54.11 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.7744, allocations: 195.1 kB / 1.085 GB, free: 54.11 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/0.775, allocations: 0.8608 MB / 1.086 GB, free: 53.29 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009147/0.7759, allocations: 0.9111 MB / 1.087 GB, free: 52.71 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.7759, allocations: 6.25 kB / 1.087 GB, free: 52.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002149/0.7781, allocations: 1.158 MB / 1.088 GB, free: 52.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.7781, allocations: 11.52 kB / 1.088 GB, free: 52.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.7781, allocations: 10.81 kB / 1.088 GB, free: 52.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/0.7787, allocations: 198 kB / 1.088 GB, free: 52.47 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.7793, allocations: 234 kB / 1.088 GB, free: 52.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.7819, allocations: 4.491 MB / 1.093 GB, free: 48.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.7831, allocations: 82.36 kB / 1.093 GB, free: 48.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.7832, allocations: 55.86 kB / 1.093 GB, free: 48.54 MB / 0.9948 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.0005283/0.7837, allocations: 225.3 kB / 1.093 GB, free: 48.37 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005359/0.7843, allocations: 260.9 kB / 1.093 GB, free: 48.23 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.7862, allocations: 1.072 MB / 1.094 GB, free: 48.04 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.7862, allocations: 8.438 kB / 1.094 GB, free: 48.04 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.7862, allocations: 2.281 kB / 1.094 GB, free: 48.04 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/0.7873, allocations: 0.8522 MB / 1.095 GB, free: 47.64 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.8021, allocations: 7.744 MB / 1.103 GB, free: 46.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.8021, allocations: 4.562 kB / 1.103 GB, free: 46.32 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.8025, allocations: 166.8 kB / 1.103 GB, free: 46.31 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003891/0.8029, allocations: 146.1 kB / 1.103 GB, free: 46.29 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/0.803, allocations: 35.73 kB / 1.103 GB, free: 46.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.8044, allocations: 2.35 MB / 1.106 GB, free: 44.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.8044, allocations: 8.734 kB / 1.106 GB, free: 44.32 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.8064, allocations: 1.358 MB / 1.107 GB, free: 43.68 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000541/0.807, allocations: 306.4 kB / 1.107 GB, free: 43.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.8072, allocations: 24.91 kB / 1.107 GB, free: 43.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/0.8077, allocations: 63.08 kB / 1.107 GB, free: 43.57 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.8079, allocations: 79.06 kB / 1.107 GB, free: 43.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.8079, allocations: 40.7 kB / 1.107 GB, free: 43.57 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001224/0.8091, allocations: 0.9265 MB / 1.108 GB, free: 43.38 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.8091, allocations: 0 / 1.108 GB, free: 43.38 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003478/0.8126, allocations: 1.285 MB / 1.109 GB, free: 43.3 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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.0049/0.8175, allocations: 1.185 MB / 1.111 GB, free: 43.02 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.8193, allocations: 1.052 MB / 1.112 GB, free: 42.62 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.8193, allocations: 0 / 1.112 GB, free: 42.62 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006139/0.8199, allocations: 0.4966 MB / 1.112 GB, free: 42.43 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.8228, allocations: 1.061 MB / 1.113 GB, free: 42.23 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/0.8275, allocations: 3.205 MB / 1.116 GB, free: 40.51 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.8279, allocations: 406.6 kB / 1.117 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001463/0.8293, allocations: 381.3 kB / 1.117 GB, free: 40.26 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/0.8297, allocations: 175.5 kB / 1.117 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of SimCode: time 2.414e-06/0.8297, allocations: 0 / 1.117 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of Templates: time 0.07914/0.9088, allocations: 73.49 MB / 1.189 GB, free: 16.99 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: 8.743857678025961]