Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.001945/0.001945, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.00253/0.00253, allocations: 190.7 kB / 22.1 MB, free: 4.227 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.501/1.501, allocations: 225.6 MB / 250.8 MB, free: 2.922 MB / 190.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 2.949/2.949, allocations: 495.8 MB / 0.783 GB, free: 12.31 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.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution")
translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 67.89 kB / 1.137 GB, free: 12.14 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8543/0.8565, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006363/0.8628, allocations: 7.362 MB / 1.314 GB, free: 28.5 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.005544/0.8684, allocations: 5.194 MB / 1.319 GB, free: 24.73 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008012/0.8692, allocations: 74.16 kB / 1.319 GB, free: 24.7 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.003498/0.8727, allocations: 1.729 MB / 1.321 GB, free: 23.89 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.001171/0.8738, allocations: 0.6191 MB / 1.321 GB, free: 23.47 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006358/0.8745, allocations: 239.9 kB / 1.322 GB, free: 23.35 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.001419/0.8759, allocations: 1.762 MB / 1.323 GB, free: 22.53 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.8763, allocations: 230.3 kB / 1.324 GB, free: 22.4 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005846/0.8768, allocations: 0.7223 MB / 1.324 GB, free: 22.08 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.8776, allocations: 0.841 MB / 1.325 GB, free: 21.69 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.8777, allocations: 80.38 kB / 1.325 GB, free: 21.69 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.8782, allocations: 210.5 kB / 1.325 GB, free: 21.65 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.8784, allocations: 341.2 kB / 1.326 GB, free: 21.47 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005306/0.8789, allocations: 0.7878 MB / 1.327 GB, free: 20.96 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.002042/0.881, allocations: 2.451 MB / 1.329 GB, free: 20.02 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.881, allocations: 4.812 kB / 1.329 GB, free: 20.01 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.573e-06/0.881, allocations: 0 / 1.329 GB, free: 20.01 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 2.861e-05/0.881, allocations: 0 / 1.329 GB, free: 20.01 MB / 1.061 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 90
 * Number of variables: 90
Notification: Performance of Generate backend data structure: time 0.003062/0.8841, allocations: 2.259 MB / 1.331 GB, free: 18.53 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.8841, allocations: 9.5 kB / 1.331 GB, free: 18.53 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002898/0.8844, allocations: 212.7 kB / 1.331 GB, free: 18.41 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.8868, allocations: 1.607 MB / 1.333 GB, free: 17.57 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.8869, allocations: 32.11 kB / 1.333 GB, free: 17.55 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.436e-05/0.8869, allocations: 32.25 kB / 1.333 GB, free: 17.54 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/0.8876, allocations: 450.8 kB / 1.333 GB, free: 17.38 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.8876, allocations: 0 / 1.333 GB, free: 17.38 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.8876, allocations: 18.8 kB / 1.333 GB, free: 17.36 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/0.8877, allocations: 20.77 kB / 1.333 GB, free: 17.36 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000681/0.8884, allocations: 437.1 kB / 1.334 GB, free: 17.24 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.8916, allocations: 2.256 MB / 1.336 GB, free: 15.97 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000966/0.8926, allocations: 499 kB / 1.337 GB, free: 15.82 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.8928, allocations: 190.3 kB / 1.337 GB, free: 15.76 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.8928, allocations: 4.406 kB / 1.337 GB, free: 15.76 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.8929, allocations: 36.73 kB / 1.337 GB, free: 15.72 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.8929, allocations: 0 / 1.337 GB, free: 15.72 MB / 1.061 GB
Notification: Performance of matching and sorting (n=34): time 0.000941/0.8938, allocations: 0.6543 MB / 1.337 GB, free: 15.45 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.8938, allocations: 56.03 kB / 1.337 GB, free: 15.38 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/0.8973, allocations: 2.557 MB / 1.34 GB, free: 14.55 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.8974, allocations: 31.73 kB / 1.34 GB, free: 14.52 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006107/0.898, allocations: 0.7608 MB / 1.341 GB, free: 13.92 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 9.217e-05/0.8981, allocations: 124 kB / 1.341 GB, free: 13.82 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.8982, allocations: 72.8 kB / 1.341 GB, free: 13.78 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.092e-05/0.8982, allocations: 321.4 kB / 1.341 GB, free: 13.46 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.8985, allocations: 142.8 kB / 1.341 GB, free: 13.42 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.8988, allocations: 174.8 kB / 1.342 GB, free: 13.36 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.8992, allocations: 328.8 kB / 1.342 GB, free: 13.25 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8992, allocations: 4.625 kB / 1.342 GB, free: 13.24 MB / 1.061 GB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008506/0.9001, allocations: 0.5382 MB / 1.342 GB, free: 13 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.9001, allocations: 5.219 kB / 1.342 GB, free: 13 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9001, allocations: 0 / 1.342 GB, free: 13 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.9001, allocations: 1.891 kB / 1.342 GB, free: 13 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.9005, allocations: 80.55 kB / 1.342 GB, free: 13 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.9005, allocations: 1.188 kB / 1.342 GB, free: 13 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.9011, allocations: 32.92 kB / 1.342 GB, free: 12.97 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.9011, allocations: 10.55 kB / 1.342 GB, free: 12.97 MB / 1.061 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 (36):
 * Single equations (assignments): 36
 * 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.0008672/0.902, allocations: 0.6937 MB / 1.343 GB, free: 12.66 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.9022, allocations: 197.7 kB / 1.343 GB, free: 12.55 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.9025, allocations: 213.1 kB / 1.344 GB, free: 12.47 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.9025, allocations: 8.469 kB / 1.344 GB, free: 12.46 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.9025, allocations: 0.6094 kB / 1.344 GB, free: 12.46 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.9025, allocations: 5.406 kB / 1.344 GB, free: 12.46 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.9048, allocations: 1.551 MB / 1.345 GB, free: 11.74 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.9048, allocations: 1.062 kB / 1.345 GB, free: 11.74 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.9051, allocations: 75.17 kB / 1.345 GB, free: 11.74 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.9051, allocations: 2.938 kB / 1.345 GB, free: 11.74 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.9051, allocations: 6.281 kB / 1.345 GB, free: 11.73 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.9051, allocations: 11.12 kB / 1.345 GB, free: 11.73 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9051, allocations: 5.344 kB / 1.345 GB, free: 11.72 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007536/0.9058, allocations: 0.6452 MB / 1.346 GB, free: 11.35 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006414/0.9065, allocations: 311.9 kB / 1.346 GB, free: 11.19 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.9067, allocations: 6.688 kB / 1.346 GB, free: 11.18 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.9071, allocations: 13.03 kB / 1.346 GB, free: 11.18 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.9072, allocations: 30.58 kB / 1.346 GB, free: 11.16 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.9072, allocations: 6.469 kB / 1.346 GB, free: 11.16 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 0.002858/0.91, allocations: 1.833 MB / 1.348 GB, free: 10.54 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8e-08/0.91, allocations: 1.469 kB / 1.348 GB, free: 10.54 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0009036/0.9109, allocations: 223.5 kB / 1.348 GB, free: 10.52 MB / 1.061 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * 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 (34):
 * Single equations (assignments): 34
 * 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.0004572/0.9114, allocations: 171.8 kB / 1.348 GB, free: 10.4 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0006177/0.912, allocations: 326.4 kB / 1.349 GB, free: 10.31 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.912, allocations: 0 / 1.349 GB, free: 10.31 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.9122, allocations: 161.5 kB / 1.349 GB, free: 10.27 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.9147, allocations: 0.6225 MB / 1.349 GB, free: 10.06 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/0.9199, allocations: 3.417 MB / 1.353 GB, free: 8.52 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.9213, allocations: 1.75 MB / 1.354 GB, free: 7.609 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 0.001046/0.9223, allocations: 310.7 kB / 1.355 GB, free: 7.574 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.9225, allocations: 81.72 kB / 1.355 GB, free: 7.566 MB / 1.061 GB
Notification: Performance of SimCode: time 1.442e-06/0.9225, allocations: 1.062 kB / 1.355 GB, free: 7.566 MB / 1.061 GB
Notification: Performance of Templates: time 0.04485/0.9674, allocations: 22.18 MB / 1.376 GB, free: 4.48 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.537670347839594]