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.001539/0.001539, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001654/0.001654, allocations: 186 kB / 20.78 MB, free: 1.547 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.524/1.524, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.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 2.954/2.954, allocations: 496.2 MB / 0.7819 GB, free: 12.27 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.002093/0.002093, allocations: 71.88 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171/1.173, allocations: 173.6 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2611/1.434, allocations: 191.3 MB / 1.492 GB, free: 6.082 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.04594/1.48, allocations: 26.29 MB / 1.518 GB, free: 14.83 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004888/1.485, allocations: 63.69 kB / 1.518 GB, free: 14.77 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.008449/1.493, allocations: 2.014 MB / 1.52 GB, free: 12.75 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01615/1.51, allocations: 4.477 MB / 1.524 GB, free: 8.262 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.007742/1.517, allocations: 2.414 MB / 1.527 GB, free: 5.852 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01374/1.531, allocations: 7.537 MB / 1.534 GB, free: 14.3 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003465/1.535, allocations: 1.262 MB / 1.535 GB, free: 13 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008579/1.543, allocations: 2.651 MB / 1.538 GB, free: 10.34 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003784/1.547, allocations: 1.455 MB / 1.539 GB, free: 8.883 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001007/1.548, allocations: 204 kB / 1.539 GB, free: 8.684 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01343/1.561, allocations: 4.778 MB / 1.544 GB, free: 3.898 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001496/1.563, allocations: 0.6812 MB / 1.545 GB, free: 3.215 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.003315/1.566, allocations: 1.217 MB / 1.546 GB, free: 1.992 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01562/1.582, allocations: 5.748 MB / 1.552 GB, free: 12.23 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/1.582, allocations: 4 kB / 1.552 GB, free: 12.22 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.394e-06/1.582, allocations: 0 / 1.552 GB, free: 12.22 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001472/1.582, allocations: 0 / 1.552 GB, free: 12.22 MB / 1.232 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.008451/1.59, allocations: 2.906 MB / 1.554 GB, free: 9.242 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.59, allocations: 12.02 kB / 1.554 GB, free: 9.23 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/1.595, allocations: 0.6659 MB / 1.555 GB, free: 8.562 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006011/1.601, allocations: 2.869 MB / 1.558 GB, free: 5.645 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-05/1.601, allocations: 78.09 kB / 1.558 GB, free: 5.566 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/1.601, allocations: 112 kB / 1.558 GB, free: 5.457 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/1.604, allocations: 1.345 MB / 1.559 GB, free: 4.027 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/1.604, allocations: 0 / 1.559 GB, free: 4.027 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/1.604, allocations: 51.98 kB / 1.559 GB, free: 3.977 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/1.604, allocations: 31.94 kB / 1.559 GB, free: 3.945 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/1.607, allocations: 1.12 MB / 1.561 GB, free: 2.828 MB / 1.232 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.01054/1.618, allocations: 6.794 MB / 1.567 GB, free: 11.66 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/1.62, allocations: 0.7616 MB / 1.568 GB, free: 10.87 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/1.62, allocations: 374.2 kB / 1.568 GB, free: 10.5 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007505/1.628, allocations: 2.833 MB / 1.571 GB, free: 7.422 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/1.629, allocations: 0.4975 MB / 1.572 GB, free: 6.898 MB / 1.248 GB Notification: Performance of pre-optimization done (n=67): time 2.494e-06/1.629, allocations: 0 / 1.572 GB, free: 6.898 MB / 1.248 GB Notification: Performance of matching and sorting (n=81): time 0.05227/1.681, allocations: 18.84 MB / 1.59 GB, free: 3.98 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.682, allocations: 170.9 kB / 1.59 GB, free: 3.773 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/1.685, allocations: 2.008 MB / 1.592 GB, free: 1.723 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.685, allocations: 49.7 kB / 1.592 GB, free: 1.668 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009527/1.686, allocations: 0.8785 MB / 1.593 GB, free: 0.7812 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/1.686, allocations: 301.5 kB / 1.593 GB, free: 496 kB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005391/1.687, allocations: 335.4 kB / 1.594 GB, free: 156 kB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.687, allocations: 305.1 kB / 1.594 GB, free: 15.85 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/1.688, allocations: 0.652 MB / 1.594 GB, free: 15.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/1.69, allocations: 1.062 MB / 1.596 GB, free: 13.98 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/1.693, allocations: 1.621 MB / 1.597 GB, free: 12.21 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.693, allocations: 4 kB / 1.597 GB, free: 12.21 MB / 1.279 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005081/1.698, allocations: 2.102 MB / 1.599 GB, free: 10.09 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/1.698, allocations: 12 kB / 1.599 GB, free: 10.08 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.698, allocations: 8 kB / 1.599 GB, free: 10.07 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008317/1.699, allocations: 226 kB / 1.599 GB, free: 9.848 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.7, allocations: 303.5 kB / 1.6 GB, free: 9.551 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00574/1.706, allocations: 4.166 MB / 1.604 GB, free: 5.113 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/1.708, allocations: 116.5 kB / 1.604 GB, free: 5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/1.708, allocations: 67.97 kB / 1.604 GB, free: 4.934 MB / 1.279 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.00131/1.71, allocations: 0.5598 MB / 1.604 GB, free: 4.363 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008295/1.71, allocations: 194.7 kB / 1.605 GB, free: 4.172 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00386/1.714, allocations: 1.48 MB / 1.606 GB, free: 2.676 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/1.714, allocations: 11.94 kB / 1.606 GB, free: 2.664 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.714, allocations: 8 kB / 1.606 GB, free: 2.656 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002781/1.717, allocations: 1.261 MB / 1.607 GB, free: 1.316 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02549/1.742, allocations: 9.292 MB / 1.616 GB, free: 7.676 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/1.743, allocations: 8.094 kB / 1.616 GB, free: 7.668 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00083/1.743, allocations: 183.7 kB / 1.617 GB, free: 7.488 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005709/1.744, allocations: 148.8 kB / 1.617 GB, free: 7.34 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/1.744, allocations: 31.98 kB / 1.617 GB, free: 7.309 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/1.747, allocations: 2.381 MB / 1.619 GB, free: 4.789 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.747, allocations: 8 kB / 1.619 GB, free: 4.781 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004611/1.752, allocations: 1.912 MB / 1.621 GB, free: 2.789 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.753, allocations: 407.7 kB / 1.621 GB, free: 2.371 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002749/1.753, allocations: 24 kB / 1.621 GB, free: 2.348 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.755, allocations: 87.91 kB / 1.621 GB, free: 2.262 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/1.755, allocations: 72.36 kB / 1.622 GB, free: 2.188 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.781e-05/1.755, allocations: 39.98 kB / 1.622 GB, free: 2.148 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002449/1.757, allocations: 1.394 MB / 1.623 GB, free: 0.7344 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/1.757, allocations: 0 / 1.623 GB, free: 0.7344 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005249/1.763, allocations: 1.389 MB / 1.624 GB, free: 15.34 MB / 1.311 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.007406/1.77, allocations: 1.318 MB / 1.626 GB, free: 14.18 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004081/1.774, allocations: 1.587 MB / 1.627 GB, free: 12.57 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.774, allocations: 3.938 kB / 1.627 GB, free: 12.57 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/1.776, allocations: 0.636 MB / 1.628 GB, free: 11.92 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/1.78, allocations: 0.9517 MB / 1.629 GB, free: 11 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007276/1.787, allocations: 3.808 MB / 1.632 GB, free: 7.09 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/1.789, allocations: 1.487 MB / 1.634 GB, free: 5.57 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001843/1.791, allocations: 391.2 kB / 1.634 GB, free: 5.188 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/1.791, allocations: 163.4 kB / 1.634 GB, free: 5.027 MB / 1.311 GB Notification: Performance of SimCode: time 2.395e-06/1.791, allocations: 0 / 1.634 GB, free: 5.027 MB / 1.311 GB Notification: Performance of Templates: time 0.139/1.93, allocations: 71.53 MB / 1.704 GB, free: 14.08 MB / 1.389 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 400] 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: 15.219774078577757]