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.001421/0.001421, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001595/0.001595, allocations: 157.7 kB / 22.75 MB, free: 1.688 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 1.517/1.517, allocations: 177.2 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.319/3.319, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.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 2.594e-06/2.594e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.746e-05/4.005e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2926/0.2927, allocations: 168.8 MB / 1.042 GB, free: 13.15 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.7091/1.002, allocations: 24.08 MB / 1.066 GB, free: 45.41 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/1.005, allocations: 80.28 kB / 1.066 GB, free: 45.41 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.005915/1.011, allocations: 2.026 MB / 1.068 GB, free: 45.41 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.01245/1.023, allocations: 4.65 MB / 1.072 GB, free: 45.29 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.006492/1.03, allocations: 2.612 MB / 1.075 GB, free: 45.26 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.01163/1.041, allocations: 8.53 MB / 1.083 GB, free: 44.48 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00292/1.044, allocations: 1.267 MB / 1.085 GB, free: 44.35 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009422/1.054, allocations: 3.66 MB / 1.088 GB, free: 43.97 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003244/1.057, allocations: 1.241 MB / 1.089 GB, free: 43.83 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0008361/1.058, allocations: 189.7 kB / 1.09 GB, free: 43.83 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/1.071, allocations: 3.949 MB / 1.093 GB, free: 43.71 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.00159/1.072, allocations: 0.6845 MB / 1.094 GB, free: 43.59 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.004045/1.076, allocations: 0.7721 MB / 1.095 GB, free: 43.49 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01696/1.093, allocations: 5.835 MB / 1.101 GB, free: 43.12 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.093, allocations: 2 kB / 1.101 GB, free: 43.12 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.733e-06/1.093, allocations: 0 / 1.101 GB, free: 43.12 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001489/1.093, allocations: 0.875 kB / 1.101 GB, free: 43.12 MB / 1.01 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.01137/1.105, allocations: 2.74 MB / 1.103 GB, free: 41.74 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.105, allocations: 11.05 kB / 1.103 GB, free: 41.74 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007514/1.112, allocations: 0.8238 MB / 1.104 GB, free: 41.55 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/1.123, allocations: 3.132 MB / 1.107 GB, free: 41.04 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/1.123, allocations: 84.33 kB / 1.107 GB, free: 41.03 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007188/1.124, allocations: 120.7 kB / 1.107 GB, free: 41.03 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006019/1.13, allocations: 1.565 MB / 1.109 GB, free: 40.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.681e-05/1.13, allocations: 1.906 kB / 1.109 GB, free: 40.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/1.13, allocations: 46.44 kB / 1.109 GB, free: 40.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/1.13, allocations: 27.88 kB / 1.109 GB, free: 40.52 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004684/1.135, allocations: 1.118 MB / 1.11 GB, free: 40.51 MB / 1.01 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.01664/1.152, allocations: 5.223 MB / 1.115 GB, free: 38.45 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003862/1.155, allocations: 0.7792 MB / 1.116 GB, free: 38.38 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/1.157, allocations: 370.5 kB / 1.116 GB, free: 38.35 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01397/1.171, allocations: 1.866 MB / 1.118 GB, free: 38.26 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002552/1.173, allocations: 0.6761 MB / 1.119 GB, free: 37.95 MB / 1.01 GB Notification: Performance of pre-optimization done (n=67): time 6.422e-06/1.173, allocations: 4 kB / 1.119 GB, free: 37.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=81): time 0.1007/1.274, allocations: 18.77 MB / 1.137 GB, free: 35.3 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/1.274, allocations: 168.3 kB / 1.137 GB, free: 35.11 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005752/1.28, allocations: 1.826 MB / 1.139 GB, free: 34.86 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003441/1.28, allocations: 44.55 kB / 1.139 GB, free: 34.82 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001463/1.282, allocations: 0.9205 MB / 1.14 GB, free: 34.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006436/1.282, allocations: 296 kB / 1.14 GB, free: 34.33 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008352/1.283, allocations: 220.2 kB / 1.14 GB, free: 34.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.283, allocations: 346.3 kB / 1.141 GB, free: 34 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/1.285, allocations: 444.6 kB / 1.141 GB, free: 33.99 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/1.288, allocations: 0.9852 MB / 1.142 GB, free: 33.32 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/1.292, allocations: 1.246 MB / 1.143 GB, free: 32.54 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/1.292, allocations: 3.438 kB / 1.143 GB, free: 32.54 MB / 1.01 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.007733/1.3, allocations: 1.683 MB / 1.145 GB, free: 31.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/1.3, allocations: 9.812 kB / 1.145 GB, free: 31.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.564e-05/1.3, allocations: 11.38 kB / 1.145 GB, free: 31.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/1.302, allocations: 265.6 kB / 1.145 GB, free: 31.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/1.304, allocations: 251.5 kB / 1.146 GB, free: 31.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007294/1.311, allocations: 3.883 MB / 1.149 GB, free: 28.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/1.315, allocations: 106.2 kB / 1.149 GB, free: 28.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000448/1.315, allocations: 55.64 kB / 1.149 GB, free: 28.44 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.002154/1.318, allocations: 0.5462 MB / 1.15 GB, free: 28.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/1.319, allocations: 262.7 kB / 1.15 GB, free: 27.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007163/1.327, allocations: 1.505 MB / 1.152 GB, free: 27.32 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/1.327, allocations: 8.438 kB / 1.152 GB, free: 27.32 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.327, allocations: 6.844 kB / 1.152 GB, free: 27.32 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004794/1.331, allocations: 1.271 MB / 1.153 GB, free: 26.61 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04767/1.379, allocations: 8.007 MB / 1.161 GB, free: 24.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/1.379, allocations: 5.781 kB / 1.161 GB, free: 24.49 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.381, allocations: 182.7 kB / 1.161 GB, free: 24.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/1.382, allocations: 186.9 kB / 1.161 GB, free: 24.43 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/1.382, allocations: 30.78 kB / 1.161 GB, free: 24.42 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004804/1.387, allocations: 2.222 MB / 1.163 GB, free: 22.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/1.387, allocations: 12.22 kB / 1.163 GB, free: 22.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008147/1.395, allocations: 1.946 MB / 1.165 GB, free: 21.58 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/1.397, allocations: 307.4 kB / 1.166 GB, free: 21.39 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/1.398, allocations: 36.33 kB / 1.166 GB, free: 21.37 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003088/1.401, allocations: 89.25 kB / 1.166 GB, free: 21.35 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/1.402, allocations: 76.16 kB / 1.166 GB, free: 21.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/1.402, allocations: 40.67 kB / 1.166 GB, free: 21.33 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004381/1.406, allocations: 1.27 MB / 1.167 GB, free: 20.81 MB / 1.01 GB Notification: Performance of sort global known variables: time 3e-07/1.406, allocations: 6.781 kB / 1.167 GB, free: 20.81 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01022/1.416, allocations: 1.288 MB / 1.168 GB, free: 20.68 MB / 1.01 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.01769/1.434, allocations: 1.228 MB / 1.169 GB, free: 20.35 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006516/1.44, allocations: 1.329 MB / 1.171 GB, free: 19.77 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.739e-05/1.441, allocations: 1.719 kB / 1.171 GB, free: 19.77 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002846/1.443, allocations: 0.6289 MB / 1.171 GB, free: 19.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009502/1.453, allocations: 1.042 MB / 1.172 GB, free: 19.18 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/1.467, allocations: 3.702 MB / 1.176 GB, free: 17.11 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002788/1.47, allocations: 0.9064 MB / 1.177 GB, free: 16.84 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004465/1.475, allocations: 406 kB / 1.177 GB, free: 16.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.476, allocations: 167.9 kB / 1.177 GB, free: 16.67 MB / 1.01 GB Notification: Performance of SimCode: time 2.455e-06/1.476, allocations: 0 / 1.177 GB, free: 16.67 MB / 1.01 GB Notification: Performance of Templates: time 0.2251/1.701, allocations: 71.94 MB / 1.248 GB, free: 3.484 MB / 1.057 GB " [Timeout remaining time 298] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.901403450989164]