Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001481/0.001481, 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.00157/0.00157, allocations: 192 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.3/1.3, 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-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.901/2.901, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 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-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.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_latest_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_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 65.12 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3092, allocations: 174.9 MB / 1.316 GB, free: 9.727 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002884/0.3121, allocations: 1.548 MB / 1.318 GB, free: 8.168 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0001137/0.3122, allocations: 27.86 kB / 1.318 GB, free: 8.141 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.3123, allocations: 8 kB / 1.318 GB, free: 8.133 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3124, allocations: 11.92 kB / 1.318 GB, free: 8.121 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.3124, allocations: 7.875 kB / 1.318 GB, free: 8.113 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.3126, allocations: 19.97 kB / 1.318 GB, free: 8.094 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3127, allocations: 47.84 kB / 1.318 GB, free: 8.047 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3128, allocations: 27.91 kB / 1.318 GB, free: 8.02 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.3128, allocations: 19.92 kB / 1.318 GB, free: 8 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.303e-05/0.3129, allocations: 35.83 kB / 1.318 GB, free: 7.965 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.3129, allocations: 4 kB / 1.318 GB, free: 7.961 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.3129, allocations: 4 kB / 1.318 GB, free: 7.957 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.313, allocations: 27.92 kB / 1.318 GB, free: 7.93 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.313, allocations: 19.88 kB / 1.318 GB, free: 7.91 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.3132, allocations: 59.62 kB / 1.318 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3132, allocations: 0 / 1.318 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.663e-06/0.3132, allocations: 0 / 1.318 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.861e-06/0.3132, allocations: 0 / 1.318 GB, free: 7.852 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.0004116/0.3136, allocations: 290.2 kB / 1.318 GB, free: 7.535 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3136, allocations: 8.031 kB / 1.318 GB, free: 7.527 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.3137, allocations: 8.891 kB / 1.318 GB, free: 7.52 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.3138, allocations: 138.4 kB / 1.318 GB, free: 7.359 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3139, allocations: 4.375 kB / 1.318 GB, free: 7.355 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.3139, allocations: 8.375 kB / 1.318 GB, free: 7.348 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3141, allocations: 100.7 kB / 1.318 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3141, allocations: 192 / 1.318 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3141, allocations: 7.938 kB / 1.318 GB, free: 7.227 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3141, allocations: 0 / 1.318 GB, free: 7.227 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/0.3142, allocations: 43.91 kB / 1.318 GB, free: 7.184 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006353/0.3148, allocations: 0.6081 MB / 1.319 GB, free: 6.523 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.994e-05/0.3149, allocations: 169.1 kB / 1.319 GB, free: 6.348 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.3149, allocations: 84.14 kB / 1.319 GB, free: 6.262 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.315, allocations: 79.28 kB / 1.319 GB, free: 6.184 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.315, allocations: 109.8 kB / 1.319 GB, free: 6.066 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.315, allocations: 0 / 1.319 GB, free: 6.066 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 7.946e-05/0.3151, allocations: 49.52 kB / 1.319 GB, free: 6.012 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.3152, allocations: 130.6 kB / 1.32 GB, free: 5.871 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.3154, allocations: 172.8 kB / 1.32 GB, free: 5.691 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3154, allocations: 25.7 kB / 1.32 GB, free: 5.66 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.3155, allocations: 108 kB / 1.32 GB, free: 5.551 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.3155, allocations: 0 / 1.32 GB, free: 5.551 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.3155, allocations: 13.72 kB / 1.32 GB, free: 5.531 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001568/0.3156, allocations: 318.8 kB / 1.32 GB, free: 5.211 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.3157, allocations: 3.984 kB / 1.32 GB, free: 5.207 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.787e-05/0.3157, allocations: 26.58 kB / 1.32 GB, free: 5.172 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.7e-05/0.3157, allocations: 34.55 kB / 1.32 GB, free: 5.129 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3157, allocations: 0 / 1.32 GB, free: 5.129 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.000115/0.3159, allocations: 57.58 kB / 1.32 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3159, allocations: 4 kB / 1.32 GB, free: 5.062 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3159, allocations: 96 / 1.32 GB, free: 5.062 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3159, allocations: 11.94 kB / 1.32 GB, free: 5.051 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.393e-05/0.3159, allocations: 4 kB / 1.32 GB, free: 5.047 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3159, allocations: 0 / 1.32 GB, free: 5.047 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.316, allocations: 7.953 kB / 1.32 GB, free: 5.039 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.316, allocations: 0 / 1.32 GB, free: 5.039 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.3161, allocations: 201 kB / 1.321 GB, free: 4.832 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.3162, allocations: 108.9 kB / 1.321 GB, free: 4.719 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.592e-05/0.3162, allocations: 120.7 kB / 1.321 GB, free: 4.59 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.55e-05/0.3163, allocations: 184.2 kB / 1.321 GB, free: 4.402 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.762e-05/0.3164, allocations: 180.3 kB / 1.321 GB, free: 4.219 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.326e-05/0.3165, allocations: 180.2 kB / 1.321 GB, free: 4.035 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.3167, allocations: 396.3 kB / 1.322 GB, free: 3.598 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.173e-05/0.3168, allocations: 101 kB / 1.322 GB, free: 3.492 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.3168, allocations: 112.9 kB / 1.322 GB, free: 3.375 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.997e-05/0.3169, allocations: 176.3 kB / 1.322 GB, free: 3.195 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.692e-05/0.317, allocations: 184.1 kB / 1.322 GB, free: 3.008 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.987e-05/0.3171, allocations: 180.5 kB / 1.322 GB, free: 2.824 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.588e-05/0.3172, allocations: 184.2 kB / 1.323 GB, free: 2.637 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.3173, allocations: 319.8 kB / 1.323 GB, free: 2.301 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.472e-05/0.3174, allocations: 112.9 kB / 1.323 GB, free: 2.184 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.3175, allocations: 188.2 kB / 1.323 GB, free: 1.992 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.3176, allocations: 105 kB / 1.323 GB, free: 1.883 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.3177, allocations: 192.1 kB / 1.323 GB, free: 1.688 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.3178, allocations: 101 kB / 1.324 GB, free: 1.582 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001064/0.3179, allocations: 131.2 kB / 1.324 GB, free: 1.453 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1e-07/0.3179, allocations: 0 / 1.324 GB, free: 1.453 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002462/0.3181, allocations: 8 kB / 1.324 GB, free: 1.445 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.0001627/0.3183, allocations: 167.1 kB / 1.324 GB, free: 1.273 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 7.13e-05/0.3183, allocations: 11.94 kB / 1.324 GB, free: 1.262 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3183, allocations: 4.188 kB / 1.324 GB, free: 1.258 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.3183, allocations: 0 / 1.324 GB, free: 1.258 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.3188, allocations: 459.7 kB / 1.324 GB, free: 0.8047 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.3191, allocations: 245 kB / 1.325 GB, free: 0.5352 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3194, allocations: 0.6924 MB / 1.325 GB, free: 15.82 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 1.913e-05/0.3194, allocations: 7.984 kB / 1.325 GB, free: 15.81 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.3195, allocations: 11.44 kB / 1.325 GB, free: 15.8 MB / 1.029 GB
Notification: Performance of SimCode: time 2.8e-07/0.3195, allocations: 0 / 1.325 GB, free: 15.8 MB / 1.029 GB
Notification: Performance of Templates: time 0.00251/0.322, allocations: 460.5 kB / 1.326 GB, free: 15.35 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.803567485883832]