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.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.001793/0.001793, 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.002157/0.002157, allocations: 190.7 kB / 22.23 MB, free: 5.156 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.504/1.504, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.313/3.313, allocations: 496 MB / 0.7835 GB, free: 33.54 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_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 0.002091/0.002091, allocations: 76.12 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3867, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2332/0.6199, allocations: 191.3 MB / 1.494 GB, free: 1.879 MB / 1.186 GB
Notification: Performance of NFInst.instExpressions: time 0.04039/0.6603, allocations: 26.33 MB / 1.52 GB, free: 7.477 MB / 1.217 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/0.6635, allocations: 79.38 kB / 1.52 GB, free: 7.398 MB / 1.217 GB
Notification: Performance of NFTyping.typeComponents: time 0.006258/0.6697, allocations: 2.096 MB / 1.522 GB, free: 5.293 MB / 1.217 GB
Notification: Performance of NFTyping.typeBindings: time 0.012/0.6817, allocations: 4.544 MB / 1.526 GB, free: 0.7344 MB / 1.217 GB
Notification: Performance of NFTyping.typeClassSections: time 0.006454/0.6882, allocations: 2.597 MB / 1.529 GB, free: 14.14 MB / 1.232 GB
Notification: Performance of NFFlatten.flatten: time 0.01221/0.7004, allocations: 7.667 MB / 1.536 GB, free: 6.461 MB / 1.232 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.002281/0.7027, allocations: 1.263 MB / 1.538 GB, free: 5.164 MB / 1.232 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006146/0.7088, allocations: 2.698 MB / 1.54 GB, free: 2.461 MB / 1.232 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.7115, allocations: 1.456 MB / 1.542 GB, free: 1 MB / 1.232 GB
Notification: Performance of NFPackage.collectConstants: time 0.0003665/0.7119, allocations: 204 kB / 1.542 GB, free: 0.8008 MB / 1.232 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.009784/0.7216, allocations: 4.852 MB / 1.547 GB, free: 11.94 MB / 1.248 GB
Notification: Performance of NFScalarize.scalarize: time 0.00092/0.7226, allocations: 0.6852 MB / 1.547 GB, free: 11.25 MB / 1.248 GB
Notification: Performance of NFVerifyModel.verify: time 0.001697/0.7243, allocations: 1.213 MB / 1.548 GB, free: 10.04 MB / 1.248 GB
Notification: Performance of NFConvertDAE.convert: time 0.0107/0.735, allocations: 5.764 MB / 1.554 GB, free: 4.254 MB / 1.248 GB
Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.735, allocations: 0 / 1.554 GB, free: 4.254 MB / 1.248 GB
Notification: Performance of FrontEnd: time 1.272e-06/0.735, allocations: 0 / 1.554 GB, free: 4.254 MB / 1.248 GB
Notification: Performance of Transformations before backend: time 5.391e-05/0.735, allocations: 0 / 1.554 GB, free: 4.254 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.006548/0.7416, allocations: 2.826 MB / 1.557 GB, free: 1.371 MB / 1.248 GB
Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.7416, allocations: 20.84 kB / 1.557 GB, free: 1.352 MB / 1.248 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004634/0.7463, allocations: 0.6581 MB / 1.557 GB, free: 0.6914 MB / 1.248 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005808/0.7521, allocations: 2.793 MB / 1.56 GB, free: 13.86 MB / 1.264 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.122e-05/0.7522, allocations: 82.09 kB / 1.56 GB, free: 13.77 MB / 1.264 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/0.7524, allocations: 112 kB / 1.56 GB, free: 13.66 MB / 1.264 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/0.7554, allocations: 1.335 MB / 1.562 GB, free: 12.24 MB / 1.264 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.7554, allocations: 0 / 1.562 GB, free: 12.24 MB / 1.264 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.7555, allocations: 44 kB / 1.562 GB, free: 12.2 MB / 1.264 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.7555, allocations: 27.94 kB / 1.562 GB, free: 12.17 MB / 1.264 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002807/0.7583, allocations: 1.128 MB / 1.563 GB, free: 11.05 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.01044/0.7688, allocations: 6.729 MB / 1.569 GB, free: 3.941 MB / 1.264 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.7708, allocations: 0.7648 MB / 1.57 GB, free: 3.152 MB / 1.264 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008451/0.7716, allocations: 368.4 kB / 1.571 GB, free: 2.785 MB / 1.264 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.006949/0.7786, allocations: 1.87 MB / 1.572 GB, free: 0.9141 MB / 1.264 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.7798, allocations: 0.4952 MB / 1.573 GB, free: 400 kB / 1.264 GB
Notification: Performance of pre-optimization done (n=67): time 2.084e-06/0.7798, allocations: 0 / 1.573 GB, free: 400 kB / 1.264 GB
Notification: Performance of matching and sorting (n=81): time 0.05267/0.8325, allocations: 18.71 MB / 1.591 GB, free: 13.64 MB / 1.295 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.8326, allocations: 166.9 kB / 1.591 GB, free: 13.44 MB / 1.295 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/0.836, allocations: 2.012 MB / 1.593 GB, free: 11.38 MB / 1.295 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.8361, allocations: 45.7 kB / 1.593 GB, free: 11.33 MB / 1.295 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000904/0.837, allocations: 0.8746 MB / 1.594 GB, free: 10.45 MB / 1.295 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.8374, allocations: 305.5 kB / 1.594 GB, free: 10.15 MB / 1.295 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005165/0.8379, allocations: 335.4 kB / 1.595 GB, free: 9.816 MB / 1.295 GB
Notification: Performance of setup shared object (initialization): time 0.0001346/0.838, allocations: 305.1 kB / 1.595 GB, free: 9.516 MB / 1.295 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.8394, allocations: 0.652 MB / 1.596 GB, free: 8.863 MB / 1.295 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.8413, allocations: 1.062 MB / 1.597 GB, free: 7.645 MB / 1.295 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003043/0.8443, allocations: 1.638 MB / 1.598 GB, free: 5.859 MB / 1.295 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.8443, allocations: 4 kB / 1.598 GB, free: 5.855 MB / 1.295 GB
Notification: Performance of matching and sorting (n=202) (initialization): time 0.004951/0.8493, allocations: 2.108 MB / 1.6 GB, free: 3.734 MB / 1.295 GB
Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.8493, allocations: 12 kB / 1.6 GB, free: 3.723 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.8493, allocations: 8 kB / 1.6 GB, free: 3.715 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008262/0.8501, allocations: 225.9 kB / 1.601 GB, free: 3.488 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.8513, allocations: 307.5 kB / 1.601 GB, free: 3.188 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7076/1.559, allocations: 3.947 MB / 1.605 GB, free: 283.2 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/1.561, allocations: 114.4 kB / 1.605 GB, free: 283.2 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/1.561, allocations: 69 kB / 1.605 GB, free: 283.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.000996/1.562, allocations: 0.5581 MB / 1.605 GB, free: 283.1 MB / 1.295 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000639/1.563, allocations: 199.7 kB / 1.606 GB, free: 283.1 MB / 1.295 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/1.567, allocations: 1.479 MB / 1.607 GB, free: 283 MB / 1.295 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/1.567, allocations: 13.36 kB / 1.607 GB, free: 283 MB / 1.295 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.567, allocations: 5.656 kB / 1.607 GB, free: 283 MB / 1.295 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002434/1.569, allocations: 1.263 MB / 1.608 GB, free: 282.6 MB / 1.295 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02576/1.595, allocations: 8.442 MB / 1.617 GB, free: 280.8 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.595, allocations: 7.438 kB / 1.617 GB, free: 280.8 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008283/1.596, allocations: 176.9 kB / 1.617 GB, free: 280.8 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000537/1.596, allocations: 165.7 kB / 1.617 GB, free: 280.8 MB / 1.295 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/1.596, allocations: 30.66 kB / 1.617 GB, free: 280.8 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/1.599, allocations: 2.272 MB / 1.619 GB, free: 278.9 MB / 1.295 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/1.599, allocations: 9.219 kB / 1.619 GB, free: 278.9 MB / 1.295 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/1.603, allocations: 1.901 MB / 1.621 GB, free: 278.1 MB / 1.295 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008579/1.604, allocations: 335.3 kB / 1.621 GB, free: 278 MB / 1.295 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/1.605, allocations: 25.08 kB / 1.621 GB, free: 277.9 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/1.606, allocations: 86.45 kB / 1.621 GB, free: 277.9 MB / 1.295 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.606, allocations: 80.2 kB / 1.622 GB, free: 277.9 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.485e-05/1.606, allocations: 43.25 kB / 1.622 GB, free: 277.9 MB / 1.295 GB
Notification: Performance of sorting global known variables: time 0.002399/1.609, allocations: 1.395 MB / 1.623 GB, free: 277.3 MB / 1.295 GB
Notification: Performance of sort global known variables: time 1.21e-07/1.609, allocations: 0 / 1.623 GB, free: 277.3 MB / 1.295 GB
Notification: Performance of remove unused functions: time 0.005418/1.614, allocations: 1.387 MB / 1.624 GB, free: 277.3 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.006604/1.621, allocations: 1.322 MB / 1.626 GB, free: 277.1 MB / 1.295 GB
Notification: Performance of simCode: created initialization part: time 0.003778/1.624, allocations: 1.584 MB / 1.627 GB, free: 276.4 MB / 1.295 GB
Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.624, allocations: 1.25 kB / 1.627 GB, free: 276.4 MB / 1.295 GB
Notification: Performance of simCode: created simulation system equations: time 0.001469/1.626, allocations: 0.6264 MB / 1.628 GB, free: 276.1 MB / 1.295 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004145/1.63, allocations: 0.9669 MB / 1.629 GB, free: 275.8 MB / 1.295 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00618/1.636, allocations: 3.822 MB / 1.632 GB, free: 273.9 MB / 1.295 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/1.637, allocations: 1.484 MB / 1.634 GB, free: 273.1 MB / 1.295 GB
Notification: Performance of simCode: alias equations: time 0.001599/1.639, allocations: 384.7 kB / 1.634 GB, free: 273 MB / 1.295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/1.639, allocations: 168.5 kB / 1.634 GB, free: 272.9 MB / 1.295 GB
Notification: Performance of SimCode: time 8.42e-07/1.639, allocations: 0 / 1.634 GB, free: 272.9 MB / 1.295 GB
Notification: Performance of Templates: time 0.08156/1.721, allocations: 71.84 MB / 1.705 GB, free: 213.2 MB / 1.295 GB
"
[Timeout remaining time 298]
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=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 400]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.218957113102078]