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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 192.6 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.111/3.111, allocations: 0.4893 GB / 0.7884 GB, free: 33.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001958/0.001958, allocations: 62.25 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 174.9 MB / 1.316 GB, free: 9.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2353/0.5715, allocations: 191.3 MB / 1.503 GB, free: 9.773 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0423/0.6138, allocations: 26.33 MB / 1.529 GB, free: 15.37 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.6169, allocations: 79.38 kB / 1.529 GB, free: 15.29 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.006433/0.6234, allocations: 2.096 MB / 1.531 GB, free: 13.19 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.6358, allocations: 4.554 MB / 1.535 GB, free: 8.621 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.007055/0.6429, allocations: 2.596 MB / 1.538 GB, free: 6.031 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01298/0.6558, allocations: 7.647 MB / 1.545 GB, free: 14.37 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/0.6586, allocations: 1.263 MB / 1.546 GB, free: 13.07 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006945/0.6655, allocations: 2.709 MB / 1.549 GB, free: 10.35 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003138/0.6686, allocations: 1.448 MB / 1.55 GB, free: 8.898 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004806/0.6691, allocations: 204 kB / 1.551 GB, free: 8.699 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/0.6806, allocations: 4.864 MB / 1.555 GB, free: 3.828 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.6819, allocations: 0.6774 MB / 1.556 GB, free: 3.148 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002061/0.6839, allocations: 1.209 MB / 1.557 GB, free: 1.934 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01299/0.6969, allocations: 5.768 MB / 1.563 GB, free: 12.15 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.6969, allocations: 3.984 kB / 1.563 GB, free: 12.14 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6969, allocations: 0 / 1.563 GB, free: 12.14 MB / 1.264 GB Notification: Performance of Transformations before backend: time 6.541e-05/0.697, allocations: 0 / 1.563 GB, free: 12.14 MB / 1.264 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.007377/0.7044, allocations: 2.841 MB / 1.566 GB, free: 9.246 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.7044, allocations: 8.75 kB / 1.566 GB, free: 9.238 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004618/0.7091, allocations: 0.6658 MB / 1.566 GB, free: 8.57 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006155/0.7152, allocations: 2.781 MB / 1.569 GB, free: 5.746 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-05/0.7153, allocations: 82.09 kB / 1.569 GB, free: 5.664 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.7155, allocations: 116 kB / 1.569 GB, free: 5.551 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.7184, allocations: 1.335 MB / 1.57 GB, free: 4.129 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.7185, allocations: 3.953 kB / 1.57 GB, free: 4.125 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.7186, allocations: 48 kB / 1.57 GB, free: 4.078 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.7186, allocations: 31.94 kB / 1.571 GB, free: 4.047 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.7213, allocations: 1.12 MB / 1.572 GB, free: 2.926 MB / 1.264 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.01066/0.732, allocations: 6.725 MB / 1.578 GB, free: 11.82 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.734, allocations: 0.7643 MB / 1.579 GB, free: 11.04 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008427/0.7349, allocations: 370.6 kB / 1.579 GB, free: 10.67 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00698/0.7419, allocations: 1.866 MB / 1.581 GB, free: 8.801 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001329/0.7432, allocations: 0.4952 MB / 1.582 GB, free: 8.277 MB / 1.279 GB Notification: Performance of pre-optimization done (n=67): time 2.826e-06/0.7432, allocations: 0 / 1.582 GB, free: 8.277 MB / 1.279 GB Notification: Performance of matching and sorting (n=81): time 0.05311/0.7963, allocations: 18.7 MB / 1.6 GB, free: 5.535 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.7964, allocations: 166.9 kB / 1.6 GB, free: 5.336 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/0.7995, allocations: 2.012 MB / 1.602 GB, free: 3.281 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.7997, allocations: 45.7 kB / 1.602 GB, free: 3.23 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000865/0.8005, allocations: 0.8708 MB / 1.603 GB, free: 2.352 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.8009, allocations: 309.5 kB / 1.603 GB, free: 2.047 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000531/0.8014, allocations: 335.4 kB / 1.603 GB, free: 1.715 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.8015, allocations: 301.1 kB / 1.604 GB, free: 1.418 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.8029, allocations: 0.6559 MB / 1.604 GB, free: 0.7617 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6988/1.502, allocations: 1.059 MB / 1.605 GB, free: 277.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/1.505, allocations: 1.634 MB / 1.607 GB, free: 276.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/1.505, allocations: 3.828 kB / 1.607 GB, free: 276.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005137/1.51, allocations: 2.113 MB / 1.609 GB, free: 276.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/1.51, allocations: 10.38 kB / 1.609 GB, free: 276.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/1.51, allocations: 14.72 kB / 1.609 GB, free: 276.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008245/1.511, allocations: 219.5 kB / 1.609 GB, free: 276.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.512, allocations: 309.4 kB / 1.61 GB, free: 276.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/1.516, allocations: 3.954 MB / 1.613 GB, free: 273.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/1.518, allocations: 119.9 kB / 1.614 GB, free: 273.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/1.518, allocations: 65.52 kB / 1.614 GB, free: 273.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (159): * Single equations (assignments): 155 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0008353/1.519, allocations: 0.5578 MB / 1.614 GB, free: 272.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005945/1.52, allocations: 197.5 kB / 1.614 GB, free: 272.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/1.523, allocations: 1.477 MB / 1.616 GB, free: 272.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/1.523, allocations: 11.27 kB / 1.616 GB, free: 272.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.523, allocations: 5.906 kB / 1.616 GB, free: 272.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002492/1.526, allocations: 1.262 MB / 1.617 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02536/1.551, allocations: 8.452 MB / 1.625 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/1.551, allocations: 7.312 kB / 1.625 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008055/1.552, allocations: 177.3 kB / 1.626 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005406/1.552, allocations: 160.5 kB / 1.626 GB, free: 269.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/1.552, allocations: 30.44 kB / 1.626 GB, free: 269.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/1.555, allocations: 2.268 MB / 1.628 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.555, allocations: 11.64 kB / 1.628 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/1.559, allocations: 1.898 MB / 1.63 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009172/1.56, allocations: 337.5 kB / 1.63 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/1.56, allocations: 27.98 kB / 1.63 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.562, allocations: 87.31 kB / 1.63 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/1.562, allocations: 75.67 kB / 1.63 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.816e-05/1.562, allocations: 39.38 kB / 1.63 GB, free: 266.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002338/1.564, allocations: 1.398 MB / 1.632 GB, free: 266 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.564, allocations: 3.938 kB / 1.632 GB, free: 266 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004541/1.569, allocations: 1.385 MB / 1.633 GB, free: 266 MB / 1.295 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 (80): * Single equations (assignments): 77 * 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.006915/1.576, allocations: 1.327 MB / 1.634 GB, free: 265.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003934/1.58, allocations: 1.585 MB / 1.636 GB, free: 265.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.58, allocations: 1.188 kB / 1.636 GB, free: 265.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.581, allocations: 0.6235 MB / 1.636 GB, free: 264.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004034/1.585, allocations: 0.9723 MB / 1.637 GB, free: 264.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006206/1.591, allocations: 3.81 MB / 1.641 GB, free: 262.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008434/1.592, allocations: 1.485 MB / 1.643 GB, free: 261.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001691/1.594, allocations: 386.3 kB / 1.643 GB, free: 261.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004396/1.594, allocations: 168.7 kB / 1.643 GB, free: 261.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.222e-06/1.594, allocations: 0 / 1.643 GB, free: 261.5 MB / 1.295 GB Notification: Performance of Templates: time 0.0921/1.686, allocations: 71.84 MB / 1.713 GB, free: 199.5 MB / 1.295 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.615325120277703]