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.001667/0.001667, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002039/0.002039, allocations: 192.4 kB / 22.17 MB, free: 5.656 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.51/1.51, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.329/3.329, allocations: 497.2 MB / 0.7845 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001935/0.001935, allocations: 71.55 kB / 1.139 GB, free: 33.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3391, allocations: 173.9 MB / 1.309 GB, free: 40 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2225/0.5616, allocations: 191.3 MB / 1.496 GB, free: 60 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04087/0.6024, allocations: 26.31 MB / 1.522 GB, free: 5.688 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.605, allocations: 63.62 kB / 1.522 GB, free: 5.625 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006098/0.6111, allocations: 2.022 MB / 1.524 GB, free: 3.594 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.6235, allocations: 4.47 MB / 1.528 GB, free: 15.11 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006263/0.6298, allocations: 2.412 MB / 1.53 GB, free: 12.7 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01204/0.6419, allocations: 7.54 MB / 1.538 GB, free: 5.145 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.6443, allocations: 1.25 MB / 1.539 GB, free: 3.859 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006653/0.6509, allocations: 2.656 MB / 1.542 GB, free: 1.195 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.6539, allocations: 1.451 MB / 1.543 GB, free: 15.74 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004754/0.6544, allocations: 204 kB / 1.543 GB, free: 15.54 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01058/0.6649, allocations: 4.778 MB / 1.548 GB, free: 10.75 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.6661, allocations: 0.6735 MB / 1.549 GB, free: 10.08 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002064/0.6682, allocations: 1.213 MB / 1.55 GB, free: 8.859 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.6801, allocations: 5.752 MB / 1.555 GB, free: 3.09 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6801, allocations: 0 / 1.555 GB, free: 3.09 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6801, allocations: 0 / 1.555 GB, free: 3.09 MB / 1.248 GB Notification: Performance of Transformations before backend: time 6.507e-05/0.6801, allocations: 4 kB / 1.555 GB, free: 3.086 MB / 1.248 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.006675/0.6868, allocations: 2.909 MB / 1.558 GB, free: 104 kB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.6869, allocations: 12.91 kB / 1.558 GB, free: 92 kB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004868/0.6917, allocations: 0.6541 MB / 1.559 GB, free: 15.43 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006067/0.6978, allocations: 2.873 MB / 1.562 GB, free: 12.51 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.162e-05/0.6979, allocations: 82.09 kB / 1.562 GB, free: 12.43 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.6981, allocations: 116 kB / 1.562 GB, free: 12.32 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/0.7011, allocations: 1.347 MB / 1.563 GB, free: 10.88 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.7011, allocations: 0 / 1.563 GB, free: 10.88 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.7012, allocations: 48 kB / 1.563 GB, free: 10.84 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.7013, allocations: 27.94 kB / 1.563 GB, free: 10.81 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003/0.7043, allocations: 1.12 MB / 1.564 GB, free: 9.688 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.0106/0.7148, allocations: 6.794 MB / 1.571 GB, free: 2.52 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.717, allocations: 0.774 MB / 1.572 GB, free: 1.723 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008986/0.7179, allocations: 370.8 kB / 1.572 GB, free: 1.355 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008437/0.7264, allocations: 2.829 MB / 1.575 GB, free: 14.29 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.7277, allocations: 0.4937 MB / 1.575 GB, free: 13.76 MB / 1.279 GB Notification: Performance of pre-optimization done (n=67): time 4.017e-06/0.7277, allocations: 4 kB / 1.575 GB, free: 13.76 MB / 1.279 GB Notification: Performance of matching and sorting (n=81): time 0.06061/0.7883, allocations: 18.85 MB / 1.594 GB, free: 10.83 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.7885, allocations: 170.8 kB / 1.594 GB, free: 10.62 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003555/0.792, allocations: 2.012 MB / 1.596 GB, free: 8.566 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002365/0.7923, allocations: 41.7 kB / 1.596 GB, free: 8.52 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.7933, allocations: 0.8746 MB / 1.597 GB, free: 7.637 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007439/0.7941, allocations: 309.5 kB / 1.597 GB, free: 7.332 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007547/0.7948, allocations: 339.4 kB / 1.597 GB, free: 6.996 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.795, allocations: 305.1 kB / 1.598 GB, free: 6.695 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.7966, allocations: 0.652 MB / 1.598 GB, free: 6.043 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.7987, allocations: 1.058 MB / 1.599 GB, free: 4.824 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.8023, allocations: 1.625 MB / 1.601 GB, free: 3.062 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.8023, allocations: 4 kB / 1.601 GB, free: 3.059 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005437/0.8077, allocations: 2.102 MB / 1.603 GB, free: 0.9414 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.8078, allocations: 13.88 kB / 1.603 GB, free: 0.9297 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.8078, allocations: 8 kB / 1.603 GB, free: 0.9219 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008748/0.8086, allocations: 229.5 kB / 1.603 GB, free: 0.6914 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.81, allocations: 299.5 kB / 1.604 GB, free: 408 kB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6349/1.445, allocations: 4.155 MB / 1.608 GB, free: 280.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/1.447, allocations: 117.4 kB / 1.608 GB, free: 280.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/1.447, allocations: 72.91 kB / 1.608 GB, free: 280.7 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.0008733/1.448, allocations: 0.5539 MB / 1.608 GB, free: 280.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006452/1.449, allocations: 195.4 kB / 1.608 GB, free: 280.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003602/1.452, allocations: 1.482 MB / 1.61 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.452, allocations: 12.88 kB / 1.61 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.452, allocations: 5.062 kB / 1.61 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002395/1.455, allocations: 1.263 MB / 1.611 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02742/1.482, allocations: 9.289 MB / 1.62 GB, free: 276.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.482, allocations: 4.938 kB / 1.62 GB, free: 276.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008504/1.483, allocations: 181.4 kB / 1.62 GB, free: 276.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005546/1.483, allocations: 161.7 kB / 1.621 GB, free: 276.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/1.483, allocations: 32.78 kB / 1.621 GB, free: 276.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/1.486, allocations: 2.378 MB / 1.623 GB, free: 274.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.486, allocations: 9.406 kB / 1.623 GB, free: 274.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004424/1.491, allocations: 1.904 MB / 1.625 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.492, allocations: 412.3 kB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/1.492, allocations: 25.7 kB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.493, allocations: 86.7 kB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/1.494, allocations: 72.77 kB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.05e-05/1.494, allocations: 38.75 kB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002476/1.496, allocations: 1.395 MB / 1.627 GB, free: 272.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.496, allocations: 1.25 kB / 1.627 GB, free: 272.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005403/1.502, allocations: 1.388 MB / 1.628 GB, free: 272.4 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.007159/1.509, allocations: 1.311 MB / 1.629 GB, free: 272.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003764/1.512, allocations: 1.574 MB / 1.631 GB, free: 271.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.512, allocations: 2.312 kB / 1.631 GB, free: 271.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/1.514, allocations: 0.6303 MB / 1.632 GB, free: 271.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004195/1.518, allocations: 0.9778 MB / 1.633 GB, free: 271 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006094/1.524, allocations: 3.806 MB / 1.636 GB, free: 269 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008624/1.525, allocations: 1.48 MB / 1.638 GB, free: 268.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00155/1.527, allocations: 398.1 kB / 1.638 GB, free: 268.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/1.527, allocations: 165.4 kB / 1.638 GB, free: 268 MB / 1.295 GB Notification: Performance of SimCode: time 8.01e-07/1.527, allocations: 0 / 1.638 GB, free: 268 MB / 1.295 GB Notification: Performance of Templates: time 0.08201/1.609, allocations: 71.54 MB / 1.708 GB, free: 208.2 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.790560147259384]