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.001407/0.001407, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001558/0.001558, allocations: 165 kB / 24.17 MB, free: 332 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.9499/0.9499, allocations: 177.2 MB / 204.6 MB, free: 5.469 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.904/1.904, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.853e-06/1.853e-06, allocations: 0 / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.832e-05, allocations: 5.516 kB / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1302/0.1303, allocations: 142.8 MB / 0.8994 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.1473, allocations: 15.11 MB / 0.9142 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.1489, allocations: 87.31 kB / 0.9143 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.003043/0.1519, allocations: 1.629 MB / 0.9159 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004825/0.1567, allocations: 2.904 MB / 0.9187 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.1595, allocations: 1.969 MB / 0.9206 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.007441/0.1669, allocations: 8.209 MB / 0.9286 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.1688, allocations: 1.284 MB / 0.9299 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003176/0.172, allocations: 2.621 MB / 0.9325 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.1732, allocations: 1.166 MB / 0.9336 GB, free: 4.406 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.1733, allocations: 184 kB / 0.9338 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.1757, allocations: 1.872 MB / 0.9356 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003921/0.1761, allocations: 0.6813 MB / 0.9363 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.000627/0.1767, allocations: 0.7599 MB / 0.937 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.1796, allocations: 2.847 MB / 0.9398 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1796, allocations: 0 / 0.9398 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1796, allocations: 0 / 0.9398 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.7e-05/0.1796, allocations: 0 / 0.9398 GB, free: 14.05 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.002587/0.1822, allocations: 2.532 MB / 0.9423 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.1823, allocations: 8.031 kB / 0.9423 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.184, allocations: 0.6273 MB / 0.9429 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.1861, allocations: 1.804 MB / 0.9446 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.1861, allocations: 82.09 kB / 0.9447 GB, free: 8.871 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/0.1864, allocations: 120 kB / 0.9448 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1874, allocations: 1.134 MB / 0.9459 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.1874, allocations: 7.984 kB / 0.946 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.1875, allocations: 51.94 kB / 0.946 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1875, allocations: 24 kB / 0.946 GB, free: 7.395 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.188, allocations: 386 kB / 0.9464 GB, free: 7.016 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.003522/0.1915, allocations: 4.147 MB / 0.9504 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005514/0.1921, allocations: 0.5403 MB / 0.951 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1923, allocations: 146.1 kB / 0.9511 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002744/0.195, allocations: 1.45 MB / 0.9525 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003608/0.1954, allocations: 489.9 kB / 0.953 GB, free: 4 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=67): time 1.532e-06/0.1954, allocations: 0 / 0.953 GB, free: 4 kB / 0.9011 GB Notification: Performance of matching and sorting (n=81): time 0.01801/0.2134, allocations: 7.999 MB / 0.9608 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.2134, allocations: 166.9 kB / 0.961 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.2146, allocations: 1.459 MB / 0.9624 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.2147, allocations: 45.77 kB / 0.9624 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.215, allocations: 0.6128 MB / 0.963 GB, free: 5.57 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.2151, allocations: 301.3 kB / 0.9633 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.2153, allocations: 218.7 kB / 0.9635 GB, free: 5.055 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.2154, allocations: 353.8 kB / 0.9639 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.2156, allocations: 133.4 kB / 0.964 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.216, allocations: 0.6252 MB / 0.9646 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005846/0.2166, allocations: 0.7072 MB / 0.9653 GB, free: 2.898 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2166, allocations: 4 kB / 0.9653 GB, free: 2.895 MB / 0.9167 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001249/0.2179, allocations: 0.8303 MB / 0.9661 GB, free: 2.043 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2179, allocations: 12 kB / 0.9661 GB, free: 2.031 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2179, allocations: 8 kB / 0.9661 GB, free: 2.023 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003654/0.2183, allocations: 188.8 kB / 0.9663 GB, free: 1.832 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.2187, allocations: 247.6 kB / 0.9665 GB, free: 1.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.2208, allocations: 3.208 MB / 0.9697 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/0.2215, allocations: 72.58 kB / 0.9697 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.2216, allocations: 47.98 kB / 0.9698 GB, free: 14.09 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.000317/0.2219, allocations: 191 kB / 0.97 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.2222, allocations: 171.4 kB / 0.9701 GB, free: 13.72 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.2233, allocations: 0.8543 MB / 0.971 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.2233, allocations: 8 kB / 0.971 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2233, allocations: 4 kB / 0.971 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000584/0.2239, allocations: 0.6452 MB / 0.9716 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04207/0.266, allocations: 22.41 MB / 0.9935 GB, free: 5.574 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.266, allocations: 4 kB / 0.9935 GB, free: 5.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.2665, allocations: 183.7 kB / 0.9937 GB, free: 5.391 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002895/0.2668, allocations: 127.8 kB / 0.9938 GB, free: 5.262 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.2669, allocations: 27.98 kB / 0.9938 GB, free: 5.234 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.2682, allocations: 1.772 MB / 0.9956 GB, free: 3.367 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2682, allocations: 4 kB / 0.9956 GB, free: 3.363 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.2694, allocations: 1.014 MB / 0.9965 GB, free: 2.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.2698, allocations: 226.6 kB / 0.9968 GB, free: 2.027 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.2699, allocations: 24 kB / 0.9968 GB, free: 2.004 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.2704, allocations: 55.95 kB / 0.9968 GB, free: 1.949 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.311e-05/0.2704, allocations: 76.41 kB / 0.9969 GB, free: 1.875 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.2705, allocations: 27.98 kB / 0.9969 GB, free: 1.848 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005595/0.2711, allocations: 0.6752 MB / 0.9976 GB, free: 1.145 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2711, allocations: 4 kB / 0.9976 GB, free: 1.141 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002005/0.2731, allocations: 1.05 MB / 0.9986 GB, free: 92 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.003318/0.2764, allocations: 1.034 MB / 0.9996 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.2775, allocations: 0.8244 MB / 1 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.341e-05/0.2775, allocations: 24.75 kB / 1 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008683/0.2784, allocations: 422.1 kB / 1.001 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.2803, allocations: 1.04 MB / 1.002 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.284, allocations: 3.041 MB / 1.005 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.2843, allocations: 397.2 kB / 1.005 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0008784/0.2852, allocations: 371.8 kB / 1.006 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.2865, allocations: 0.6863 MB / 1.006 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of SimCode: time 1.643e-06/0.2865, allocations: 0 / 1.006 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of Templates: time 0.3868/0.6733, allocations: 69.39 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 -s gbode -gbm=radauIIA3 -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: 7.03696089470759]