Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001372/0.001372, allocations: 110 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.001438/0.001438, allocations: 185.8 kB / 22.23 MB, free: 5.16 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.379/1.379, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.736/2.736, allocations: 476.7 MB / 0.7646 GB, free: 9.84 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 1.11 GB, free: 6.297 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7084/0.7104, allocations: 168.8 MB / 1.274 GB, free: 4.211 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002947/0.7133, allocations: 1.562 MB / 1.276 GB, free: 2.641 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0001263/0.7134, allocations: 35.86 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.7135, allocations: 0 / 1.276 GB, free: 2.605 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.7136, allocations: 11.86 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.7136, allocations: 11.92 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.7138, allocations: 19.97 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001157/0.7139, allocations: 51.84 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.714, allocations: 19.98 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.945e-05/0.714, allocations: 23.86 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.7141, allocations: 31.86 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.7141, allocations: 4 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.7141, allocations: 4 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.7142, allocations: 19.92 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.7142, allocations: 23.86 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.7144, allocations: 62.06 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7144, allocations: 8 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.402e-06/0.7144, allocations: 3.938 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 9.137e-06/0.7144, allocations: 4 kB / 1.276 GB, free: 2.316 MB / 0.9669 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.0004245/0.7148, allocations: 286.1 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.7149, allocations: 8.031 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.7149, allocations: 8.891 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.7151, allocations: 122.5 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.7151, allocations: 4.375 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.7151, allocations: 8.375 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.7153, allocations: 104.7 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.7153, allocations: 192 / 1.277 GB, free: 1.715 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.7153, allocations: 7.938 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.7153, allocations: 4 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.618e-05/0.7154, allocations: 39.92 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.716, allocations: 0.6119 MB / 1.277 GB, free: 1 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.7162, allocations: 169.1 kB / 1.278 GB, free: 0.8242 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.7162, allocations: 80.14 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.7162, allocations: 83.28 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.7163, allocations: 109.8 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7163, allocations: 0 / 1.278 GB, free: 0.543 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=0): time 8.096e-05/0.7164, allocations: 37.59 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.7164, allocations: 130.6 kB / 1.278 GB, free: 368 kB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.7166, allocations: 173.8 kB / 1.278 GB, free: 180 kB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.7167, allocations: 25.7 kB / 1.278 GB, free: 148 kB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.7167, allocations: 108.1 kB / 1.278 GB, free: 36 kB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.7167, allocations: 0 / 1.278 GB, free: 36 kB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.7168, allocations: 13.72 kB / 1.278 GB, free: 16 kB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.000165/0.7169, allocations: 322.8 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.7169, allocations: 0 / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.717, allocations: 26.56 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.717, allocations: 34.52 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.717, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001305/0.7172, allocations: 53.59 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.7172, allocations: 4 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7172, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.7172, allocations: 11.92 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.7173, allocations: 8 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.7173, allocations: 96 / 1.279 GB, free: 15.53 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.7173, allocations: 15.89 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.7173, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 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.0001313/0.7174, allocations: 189.1 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.7175, allocations: 116.9 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.748e-05/0.7176, allocations: 118.3 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.892e-05/0.7177, allocations: 184.2 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.391e-05/0.7178, allocations: 188.2 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.497e-05/0.7179, allocations: 180.2 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.7181, allocations: 396.2 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.65e-05/0.7182, allocations: 105 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.7182, allocations: 105 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.951e-05/0.7183, allocations: 184.2 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.7184, allocations: 184.2 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.052e-05/0.7185, allocations: 180.2 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001071/0.7186, allocations: 176.3 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.7187, allocations: 320 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.7188, allocations: 109 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.7189, allocations: 200.2 kB / 1.281 GB, free: 12.46 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.719, allocations: 101 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.7191, allocations: 180.2 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.7191, allocations: 108.9 kB / 1.282 GB, free: 12.06 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0001145/0.7193, allocations: 134.1 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.7193, allocations: 0 / 1.282 GB, free: 11.93 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.000252/0.7195, allocations: 8 kB / 1.282 GB, free: 11.93 MB / 0.9825 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.0001531/0.7197, allocations: 174.5 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 8.178e-05/0.7197, allocations: 11.94 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7197, allocations: 0 / 1.282 GB, free: 11.73 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.7197, allocations: 0 / 1.282 GB, free: 11.73 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.7202, allocations: 463.9 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.7206, allocations: 225.3 kB / 1.283 GB, free: 11.03 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.7209, allocations: 0.6885 MB / 1.284 GB, free: 10.32 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.205e-05/0.7209, allocations: 7.984 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.721, allocations: 11.44 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB
Notification: Performance of SimCode: time 3e-07/0.721, allocations: 4 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB
Notification: Performance of Templates: time 0.002859/0.7238, allocations: 461 kB / 1.284 GB, free: 9.852 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.076852409169078]