Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.001425/0.001425, allocations: 110.2 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.001335/0.001335, allocations: 186.7 kB / 22.22 MB, free: 5.164 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.291/1.291, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 179]
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 2.881/2.881, allocations: 496 MB / 0.7835 GB, free: 33.63 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-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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain")
translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 69.89 kB / 1.138 GB, free: 33.73 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2786, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002672/0.2813, allocations: 1.563 MB / 1.309 GB, free: 248 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0001135/0.2814, allocations: 31.86 kB / 1.309 GB, free: 216 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.2814, allocations: 7.938 kB / 1.309 GB, free: 208 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.2815, allocations: 11.86 kB / 1.309 GB, free: 196 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.2816, allocations: 7.922 kB / 1.309 GB, free: 188 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.2817, allocations: 23.97 kB / 1.309 GB, free: 164 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2818, allocations: 43.84 kB / 1.309 GB, free: 120 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.2819, allocations: 23.92 kB / 1.309 GB, free: 96 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.282, allocations: 19.92 kB / 1.309 GB, free: 76 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.282, allocations: 31.91 kB / 1.309 GB, free: 44 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.282, allocations: 7.938 kB / 1.309 GB, free: 36 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.282, allocations: 8 kB / 1.309 GB, free: 28 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.2821, allocations: 23.91 kB / 1.309 GB, free: 4 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.2821, allocations: 23.94 kB / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 9.722e-05/0.2822, allocations: 55.75 kB / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2823, allocations: 0 / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.2823, allocations: 0 / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 4.469e-06/0.2823, allocations: 0 / 1.309 GB, free: 15.92 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: 15
 * Number of variables: 15
Notification: Performance of Generate backend data structure: time 0.0003649/0.2826, allocations: 290.1 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.2827, allocations: 8.922 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.2827, allocations: 12.89 kB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.2828, allocations: 126.4 kB / 1.31 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2828, allocations: 8.375 kB / 1.31 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.2829, allocations: 4.375 kB / 1.31 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.283, allocations: 100.8 kB / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.283, allocations: 192 / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.283, allocations: 3.938 kB / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.283, allocations: 0 / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/0.2831, allocations: 51.91 kB / 1.31 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.2837, allocations: 0.6041 MB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.487e-05/0.2838, allocations: 173.1 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.2838, allocations: 84.14 kB / 1.311 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.2839, allocations: 79.28 kB / 1.311 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.2839, allocations: 105.8 kB / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.2839, allocations: 0 / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 6.831e-05/0.284, allocations: 37.59 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.2841, allocations: 130.7 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.2842, allocations: 173.1 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.2842, allocations: 25.7 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.2843, allocations: 104 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.2843, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.2843, allocations: 25.64 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001327/0.2845, allocations: 314.8 kB / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.2845, allocations: 4 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.2845, allocations: 30.5 kB / 1.312 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.32e-05/0.2846, allocations: 30.61 kB / 1.312 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2846, allocations: 3.938 kB / 1.312 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001229/0.2847, allocations: 57.58 kB / 1.312 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2847, allocations: 9.812 kB / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2847, allocations: 4.094 kB / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2847, allocations: 7.938 kB / 1.312 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/0.2848, allocations: 4 kB / 1.312 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2848, allocations: 3.984 kB / 1.312 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.2848, allocations: 11.95 kB / 1.312 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.2848, allocations: 0 / 1.312 GB, free: 13.11 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * 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 (3):
 * Single equations (assignments): 3
 * 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.000114/0.2849, allocations: 193 kB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.285, allocations: 112.9 kB / 1.312 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.2851, allocations: 120.7 kB / 1.312 GB, free: 12.67 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.596e-05/0.2851, allocations: 180.3 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.26e-05/0.2852, allocations: 184.2 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.99e-05/0.2853, allocations: 180.3 kB / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.2855, allocations: 392.3 kB / 1.313 GB, free: 11.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.765e-05/0.2856, allocations: 116.9 kB / 1.313 GB, free: 11.56 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.2856, allocations: 101 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.152e-05/0.2857, allocations: 180.2 kB / 1.313 GB, free: 11.27 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.617e-05/0.2858, allocations: 184.2 kB / 1.313 GB, free: 11.08 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.486e-05/0.2858, allocations: 176.5 kB / 1.314 GB, free: 10.9 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.336e-05/0.2859, allocations: 188.2 kB / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.2861, allocations: 315.8 kB / 1.314 GB, free: 10.38 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.2861, allocations: 109 kB / 1.314 GB, free: 10.27 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/0.2862, allocations: 196.1 kB / 1.314 GB, free: 10.07 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.2863, allocations: 105 kB / 1.315 GB, free: 9.957 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.2864, allocations: 180.3 kB / 1.315 GB, free: 9.773 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.2864, allocations: 104.9 kB / 1.315 GB, free: 9.664 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001031/0.2865, allocations: 130.1 kB / 1.315 GB, free: 9.539 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.2865, allocations: 0 / 1.315 GB, free: 9.539 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002088/0.2867, allocations: 8 kB / 1.315 GB, free: 9.531 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 (0):
 * Single equations (assignments): 0
 * 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.000119/0.2868, allocations: 175.9 kB / 1.315 GB, free: 9.352 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 6.461e-05/0.2869, allocations: 12 kB / 1.315 GB, free: 9.34 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2869, allocations: 3.938 kB / 1.315 GB, free: 9.336 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.2869, allocations: 0 / 1.315 GB, free: 9.336 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2873, allocations: 461.6 kB / 1.316 GB, free: 8.883 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.2876, allocations: 237 kB / 1.316 GB, free: 8.621 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.2879, allocations: 0.6965 MB / 1.316 GB, free: 7.898 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.95e-05/0.2879, allocations: 7.984 kB / 1.316 GB, free: 7.891 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.2879, allocations: 15.38 kB / 1.316 GB, free: 7.875 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.2879, allocations: 0 / 1.316 GB, free: 7.875 MB / 1.014 GB
Notification: Performance of Templates: time 0.002463/0.2904, allocations: 444.5 kB / 1.317 GB, free: 7.441 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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: 7.751722576096654]