Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001391/0.001391, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001447/0.001447, allocations: 191.6 kB / 22.11 MB, free: 5.152 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.503/1.503, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.397/3.397, allocations: 495.8 MB / 0.783 GB, free: 33.58 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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss")
translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 70.97 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4393, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003659/0.443, allocations: 1.881 MB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.004816/0.4478, allocations: 3.567 MB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.4479, allocations: 0 / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008364/0.4487, allocations: 179.2 kB / 1.312 GB, free: 12.17 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.4489, allocations: 79.45 kB / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 7.147e-05/0.449, allocations: 23.97 kB / 1.312 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005035/0.4495, allocations: 255.1 kB / 1.313 GB, free: 11.82 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.4496, allocations: 25.72 kB / 1.313 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.4497, allocations: 79.69 kB / 1.313 GB, free: 11.72 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.4499, allocations: 67.7 kB / 1.313 GB, free: 11.65 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.4499, allocations: 8 kB / 1.313 GB, free: 11.64 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.45, allocations: 27.91 kB / 1.313 GB, free: 11.62 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.4501, allocations: 55.81 kB / 1.313 GB, free: 11.56 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.4503, allocations: 91.42 kB / 1.313 GB, free: 11.47 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.4506, allocations: 183.1 kB / 1.313 GB, free: 11.29 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4506, allocations: 0 / 1.313 GB, free: 11.29 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.432e-06/0.4506, allocations: 0 / 1.313 GB, free: 11.29 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.113e-05/0.4506, allocations: 0 / 1.313 GB, free: 11.29 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 17
 * Number of variables: 17
Notification: Performance of Generate backend data structure: time 0.000936/0.4515, allocations: 464.9 kB / 1.314 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4516, allocations: 8.031 kB / 1.314 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.4516, allocations: 28.8 kB / 1.314 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.452, allocations: 181.6 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.452, allocations: 12.31 kB / 1.314 GB, free: 10.56 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.452, allocations: 4.375 kB / 1.314 GB, free: 10.55 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.4524, allocations: 137.7 kB / 1.314 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4524, allocations: 0 / 1.314 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.4524, allocations: 4 kB / 1.314 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.4525, allocations: 11.98 kB / 1.314 GB, free: 10.4 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.4529, allocations: 131.9 kB / 1.314 GB, free: 10.27 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.4537, allocations: 419.5 kB / 1.314 GB, free: 9.816 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.4542, allocations: 154.4 kB / 1.315 GB, free: 9.656 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.4544, allocations: 104.8 kB / 1.315 GB, free: 9.551 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.4544, allocations: 4 kB / 1.315 GB, free: 9.547 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.4545, allocations: 30.56 kB / 1.315 GB, free: 9.508 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.4545, allocations: 0 / 1.315 GB, free: 9.508 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13): time 0.0009227/0.4554, allocations: 293.4 kB / 1.315 GB, free: 9.219 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.4554, allocations: 55.34 kB / 1.315 GB, free: 9.152 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.4557, allocations: 229.9 kB / 1.315 GB, free: 8.918 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.4557, allocations: 29.7 kB / 1.315 GB, free: 8.883 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.4559, allocations: 140 kB / 1.315 GB, free: 8.742 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.4559, allocations: 43.64 kB / 1.315 GB, free: 8.699 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/0.456, allocations: 33.7 kB / 1.316 GB, free: 8.66 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001744/0.4562, allocations: 338.8 kB / 1.316 GB, free: 8.32 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.4564, allocations: 71.94 kB / 1.316 GB, free: 8.25 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.4566, allocations: 63.94 kB / 1.316 GB, free: 8.188 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.4571, allocations: 164.7 kB / 1.316 GB, free: 8.023 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4571, allocations: 0 / 1.316 GB, free: 8.023 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.00055/0.4576, allocations: 209.4 kB / 1.316 GB, free: 7.812 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4576, allocations: 12 kB / 1.316 GB, free: 7.801 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4576, allocations: 0 / 1.316 GB, free: 7.801 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4577, allocations: 0 / 1.316 GB, free: 7.801 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.4579, allocations: 31.97 kB / 1.316 GB, free: 7.77 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4579, allocations: 7.922 kB / 1.316 GB, free: 7.762 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.4581, allocations: 23.88 kB / 1.316 GB, free: 7.738 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.4581, allocations: 4 kB / 1.316 GB, free: 7.734 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (13):
 * Single equations (assignments): 13
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.4582, allocations: 145.7 kB / 1.317 GB, free: 7.582 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.4583, allocations: 27.84 kB / 1.317 GB, free: 7.555 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.4584, allocations: 25.78 kB / 1.317 GB, free: 7.527 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4584, allocations: 0 / 1.317 GB, free: 7.527 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4584, allocations: 4 kB / 1.317 GB, free: 7.523 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4584, allocations: 7.922 kB / 1.317 GB, free: 7.516 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.4587, allocations: 236.6 kB / 1.317 GB, free: 7.242 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4587, allocations: 0 / 1.317 GB, free: 7.242 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.4589, allocations: 35.95 kB / 1.317 GB, free: 7.207 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4589, allocations: 4 kB / 1.317 GB, free: 7.203 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.4589, allocations: 0 / 1.317 GB, free: 7.203 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4589, allocations: 4 kB / 1.317 GB, free: 7.199 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4589, allocations: 0 / 1.317 GB, free: 7.199 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.4596, allocations: 313.8 kB / 1.317 GB, free: 6.879 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.4596, allocations: 43.7 kB / 1.317 GB, free: 6.836 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.4597, allocations: 0 / 1.317 GB, free: 6.836 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.4598, allocations: 15.98 kB / 1.317 GB, free: 6.82 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.4599, allocations: 7.984 kB / 1.317 GB, free: 6.812 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.4599, allocations: 11.98 kB / 1.317 GB, free: 6.801 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001674/0.4601, allocations: 169.2 kB / 1.317 GB, free: 6.637 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.4601, allocations: 0 / 1.317 GB, free: 6.637 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002696/0.4604, allocations: 39.94 kB / 1.317 GB, free: 6.598 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (13):
 * Single equations (assignments): 13
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001842/0.4605, allocations: 112 kB / 1.318 GB, free: 6.48 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005574/0.4611, allocations: 167.8 kB / 1.318 GB, free: 6.316 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4611, allocations: 0 / 1.318 GB, free: 6.316 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.4614, allocations: 87.88 kB / 1.318 GB, free: 6.23 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.4618, allocations: 41.42 kB / 1.318 GB, free: 6.191 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000915/0.4628, allocations: 455.9 kB / 1.318 GB, free: 5.719 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4632, allocations: 0.7435 MB / 1.319 GB, free: 4.949 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001551/0.4633, allocations: 53.02 kB / 1.319 GB, free: 4.898 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.4634, allocations: 23.42 kB / 1.319 GB, free: 4.875 MB / 1.014 GB
Notification: Performance of SimCode: time 1.613e-06/0.4634, allocations: 3.938 kB / 1.319 GB, free: 4.871 MB / 1.014 GB
Notification: Performance of Templates: time 0.006368/0.4698, allocations: 2.353 MB / 1.321 GB, free: 2.562 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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: 9.758758059702814]