Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.00193/0.00193, 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.002502/0.002502, allocations: 190.5 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.504/1.504, allocations: 225.6 MB / 250.8 MB, free: 13.09 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.153/3.153, allocations: 495.8 MB / 0.783 GB, free: 33.48 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.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic")
translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 64.95 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3685, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008713/0.3772, allocations: 6.006 MB / 1.313 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1914/0.5686, allocations: 149.8 MB / 1.459 GB, free: 5.418 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.5696, allocations: 27.75 kB / 1.459 GB, free: 5.391 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.5703, allocations: 245.7 kB / 1.459 GB, free: 5.148 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002/0.5723, allocations: 0.6331 MB / 1.46 GB, free: 4.516 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.5744, allocations: 0.8966 MB / 1.461 GB, free: 3.625 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001999/0.5764, allocations: 1.661 MB / 1.462 GB, free: 1.957 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009781/0.5774, allocations: 0.5971 MB / 1.463 GB, free: 1.32 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009013/0.5783, allocations: 0.6268 MB / 1.463 GB, free: 0.6914 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007743/0.579, allocations: 0.665 MB / 1.464 GB, free: 24 kB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002353/0.5793, allocations: 156 kB / 1.464 GB, free: 15.87 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000997/0.5803, allocations: 0.4996 MB / 1.465 GB, free: 15.37 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.000356/0.5806, allocations: 378.7 kB / 1.465 GB, free: 15 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.000685/0.5813, allocations: 0.7307 MB / 1.466 GB, free: 14.27 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.0024/0.5837, allocations: 2.035 MB / 1.468 GB, free: 12.22 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5837, allocations: 3.938 kB / 1.468 GB, free: 12.22 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.412e-06/0.5837, allocations: 0 / 1.468 GB, free: 12.22 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.65e-05/0.5837, allocations: 0 / 1.468 GB, free: 12.22 MB / 1.17 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 305
 * Number of variables: 305
Notification: Performance of Generate backend data structure: time 0.002973/0.5867, allocations: 1.678 MB / 1.469 GB, free: 10.5 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5867, allocations: 12.92 kB / 1.469 GB, free: 10.49 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.5878, allocations: 227.8 kB / 1.47 GB, free: 10.27 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.5891, allocations: 0.804 MB / 1.47 GB, free: 9.438 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.058e-05/0.5892, allocations: 86.41 kB / 1.471 GB, free: 9.352 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.5894, allocations: 116 kB / 1.471 GB, free: 9.238 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.5915, allocations: 1.206 MB / 1.472 GB, free: 7.969 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.5915, allocations: 4 kB / 1.472 GB, free: 7.965 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.5916, allocations: 52 kB / 1.472 GB, free: 7.914 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.5917, allocations: 28 kB / 1.472 GB, free: 7.887 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.5939, allocations: 1.293 MB / 1.473 GB, free: 6.586 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/0.5993, allocations: 3.605 MB / 1.477 GB, free: 2.773 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.601, allocations: 0.8164 MB / 1.477 GB, free: 1.945 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.6015, allocations: 294.7 kB / 1.478 GB, free: 1.656 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.161e-05/0.6016, allocations: 36.59 kB / 1.478 GB, free: 1.621 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009575/0.6026, allocations: 0.5174 MB / 1.478 GB, free: 1.082 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=87): time 2.485e-06/0.6026, allocations: 0 / 1.478 GB, free: 1.082 MB / 1.17 GB
Notification: Performance of matching and sorting (n=87): time 0.003598/0.6062, allocations: 1.219 MB / 1.479 GB, free: 15.86 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.6063, allocations: 192.9 kB / 1.48 GB, free: 15.62 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.6073, allocations: 0.7314 MB / 1.48 GB, free: 14.88 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 8.171e-05/0.6074, allocations: 45.69 kB / 1.48 GB, free: 14.83 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000455/0.6079, allocations: 0.532 MB / 1.481 GB, free: 14.29 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.6081, allocations: 293.5 kB / 1.481 GB, free: 14 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.6084, allocations: 174.5 kB / 1.481 GB, free: 13.82 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0001505/0.6086, allocations: 337.9 kB / 1.482 GB, free: 13.48 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/0.6092, allocations: 297.8 kB / 1.482 GB, free: 13.2 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007471/0.6099, allocations: 383.1 kB / 1.482 GB, free: 12.81 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.6113, allocations: 0.6634 MB / 1.483 GB, free: 12.13 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6113, allocations: 3.938 kB / 1.483 GB, free: 12.13 MB / 1.186 GB
Notification: Performance of matching and sorting (n=106) (initialization): time 0.002236/0.6135, allocations: 0.9311 MB / 1.484 GB, free: 11.19 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6135, allocations: 4 kB / 1.484 GB, free: 11.19 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.6135, allocations: 7.938 kB / 1.484 GB, free: 11.18 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006168/0.6141, allocations: 80.88 kB / 1.484 GB, free: 11.1 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/0.6149, allocations: 175.7 kB / 1.484 GB, free: 10.93 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.6171, allocations: 1.532 MB / 1.486 GB, free: 9.273 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008177/0.6179, allocations: 100.3 kB / 1.486 GB, free: 9.176 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-05/0.618, allocations: 44.03 kB / 1.486 GB, free: 9.133 MB / 1.186 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (104):
 * Single equations (assignments): 103
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0005457/0.6186, allocations: 295.3 kB / 1.486 GB, free: 8.836 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.6188, allocations: 103.4 kB / 1.486 GB, free: 8.734 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.6214, allocations: 1.118 MB / 1.487 GB, free: 7.605 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.6215, allocations: 15.94 kB / 1.487 GB, free: 7.59 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.6215, allocations: 48 / 1.487 GB, free: 7.59 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.6215, allocations: 7.969 kB / 1.487 GB, free: 7.582 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.6229, allocations: 1.02 MB / 1.488 GB, free: 6.516 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.6229, allocations: 4 kB / 1.488 GB, free: 6.512 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/0.6235, allocations: 155.8 kB / 1.488 GB, free: 6.359 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004642/0.624, allocations: 64.8 kB / 1.489 GB, free: 6.293 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.6241, allocations: 35.97 kB / 1.489 GB, free: 6.258 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.6262, allocations: 1.551 MB / 1.49 GB, free: 4.586 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6262, allocations: 0 / 1.49 GB, free: 4.586 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.6284, allocations: 0.9946 MB / 1.491 GB, free: 3.574 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/0.6289, allocations: 215 kB / 1.491 GB, free: 3.363 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.629, allocations: 20 kB / 1.491 GB, free: 3.344 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.6297, allocations: 63.92 kB / 1.491 GB, free: 3.281 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.6298, allocations: 84.73 kB / 1.491 GB, free: 3.199 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.879e-05/0.6299, allocations: 35.97 kB / 1.491 GB, free: 3.164 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0007738/0.6307, allocations: 0.5224 MB / 1.492 GB, free: 2.645 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.6307, allocations: 0 / 1.492 GB, free: 2.645 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0009677/0.6317, allocations: 402.8 kB / 1.492 GB, free: 2.25 MB / 1.186 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (98):
 * Single equations (assignments): 92
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,3)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.001909/0.6336, allocations: 0.6016 MB / 1.493 GB, free: 1.824 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001922/0.6355, allocations: 0.8548 MB / 1.494 GB, free: 0.9531 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6355, allocations: 0 / 1.494 GB, free: 0.9531 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6365, allocations: 0.5158 MB / 1.494 GB, free: 440 kB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.6378, allocations: 335.3 kB / 1.495 GB, free: 132 kB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.6415, allocations: 1.997 MB / 1.497 GB, free: 14.09 MB / 1.201 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007896/0.6423, allocations: 1.118 MB / 1.498 GB, free: 12.95 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0008655/0.6432, allocations: 291.6 kB / 1.498 GB, free: 12.66 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.6435, allocations: 119.4 kB / 1.498 GB, free: 12.54 MB / 1.201 GB
Notification: Performance of SimCode: time 8.02e-07/0.6435, allocations: 0 / 1.498 GB, free: 12.54 MB / 1.201 GB
Notification: Performance of Templates: time 0.03029/0.6738, allocations: 17.17 MB / 1.515 GB, free: 11.57 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.809805205091834]