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.001781/0.001781, allocations: 112.9 kB / 18.94 MB, free: 2.953 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.002012/0.002012, allocations: 189 kB / 22.23 MB, free: 5.137 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.562/1.562, allocations: 225.6 MB / 251 MB, free: 13.04 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.204/3.204, allocations: 496 MB / 0.7834 GB, free: 33.7 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.002067/0.002067, allocations: 64.53 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.443, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.009063/0.452, allocations: 6.03 MB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.2078/0.6598, allocations: 151.4 MB / 1.461 GB, free: 3.754 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.661, allocations: 27.75 kB / 1.461 GB, free: 3.727 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.000826/0.6619, allocations: 237.7 kB / 1.461 GB, free: 3.492 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002394/0.6643, allocations: 0.6326 MB / 1.462 GB, free: 2.859 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.6669, allocations: 0.9023 MB / 1.463 GB, free: 1.961 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.002491/0.6694, allocations: 1.654 MB / 1.464 GB, free: 308 kB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.6706, allocations: 0.5971 MB / 1.465 GB, free: 15.66 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.6716, allocations: 0.6306 MB / 1.466 GB, free: 15.03 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008238/0.6724, allocations: 0.6651 MB / 1.466 GB, free: 14.36 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.6726, allocations: 156 kB / 1.466 GB, free: 14.21 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.6737, allocations: 0.5114 MB / 1.467 GB, free: 13.7 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003805/0.674, allocations: 382.8 kB / 1.467 GB, free: 13.32 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0007393/0.6748, allocations: 0.7385 MB / 1.468 GB, free: 12.58 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002726/0.6775, allocations: 2.031 MB / 1.47 GB, free: 10.54 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6775, allocations: 0 / 1.47 GB, free: 10.54 MB / 1.17 GB
Notification: Performance of FrontEnd: time 2.004e-06/0.6775, allocations: 0 / 1.47 GB, free: 10.54 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 2.21e-05/0.6775, allocations: 0 / 1.47 GB, free: 10.54 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.00324/0.6808, allocations: 1.69 MB / 1.472 GB, free: 8.816 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.6808, allocations: 12.03 kB / 1.472 GB, free: 8.805 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.6818, allocations: 227.8 kB / 1.472 GB, free: 8.582 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.6834, allocations: 0.804 MB / 1.473 GB, free: 7.75 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.336e-05/0.6835, allocations: 90.41 kB / 1.473 GB, free: 7.66 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.6836, allocations: 116 kB / 1.473 GB, free: 7.547 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.6859, allocations: 1.202 MB / 1.474 GB, free: 6.281 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.6859, allocations: 8 kB / 1.474 GB, free: 6.273 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.686, allocations: 48 kB / 1.474 GB, free: 6.227 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.686, allocations: 28 kB / 1.474 GB, free: 6.199 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.6883, allocations: 1.285 MB / 1.475 GB, free: 4.906 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005902/0.6942, allocations: 3.636 MB / 1.479 GB, free: 1.066 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.6959, allocations: 0.8219 MB / 1.48 GB, free: 240 kB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/0.6964, allocations: 302.7 kB / 1.48 GB, free: 15.93 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.392e-05/0.6965, allocations: 40.45 kB / 1.48 GB, free: 15.9 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.6975, allocations: 0.5058 MB / 1.48 GB, free: 15.37 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=87): time 5.28e-06/0.6976, allocations: 4 kB / 1.481 GB, free: 15.37 MB / 1.186 GB
Notification: Performance of matching and sorting (n=87): time 0.003555/0.7011, allocations: 1.219 MB / 1.482 GB, free: 14.14 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.7012, allocations: 188.9 kB / 1.482 GB, free: 13.91 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.7024, allocations: 0.7314 MB / 1.483 GB, free: 13.17 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 8.719e-05/0.7025, allocations: 41.7 kB / 1.483 GB, free: 13.12 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.703, allocations: 0.5281 MB / 1.483 GB, free: 12.59 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.7033, allocations: 297.5 kB / 1.483 GB, free: 12.29 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/0.7036, allocations: 174.6 kB / 1.484 GB, free: 12.11 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0001743/0.7038, allocations: 341.9 kB / 1.484 GB, free: 11.77 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.7044, allocations: 289.9 kB / 1.484 GB, free: 11.49 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.7051, allocations: 391.1 kB / 1.485 GB, free: 11.1 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.7064, allocations: 0.6594 MB / 1.485 GB, free: 10.43 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.7064, allocations: 0 / 1.485 GB, free: 10.43 MB / 1.186 GB
Notification: Performance of matching and sorting (n=106) (initialization): time 0.002253/0.7087, allocations: 0.9272 MB / 1.486 GB, free: 9.492 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.7087, allocations: 4 kB / 1.486 GB, free: 9.488 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.7087, allocations: 7.938 kB / 1.486 GB, free: 9.48 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/0.7094, allocations: 84.86 kB / 1.486 GB, free: 9.395 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.7101, allocations: 171.8 kB / 1.486 GB, free: 9.227 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.7125, allocations: 1.539 MB / 1.488 GB, free: 7.566 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009481/0.7135, allocations: 113.7 kB / 1.488 GB, free: 7.457 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.361e-05/0.7136, allocations: 39.97 kB / 1.488 GB, free: 7.418 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.0006892/0.7143, allocations: 291.3 kB / 1.488 GB, free: 7.125 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.7145, allocations: 99.39 kB / 1.488 GB, free: 7.027 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/0.7171, allocations: 1.122 MB / 1.489 GB, free: 5.895 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.7171, allocations: 15.94 kB / 1.49 GB, free: 5.879 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7171, allocations: 0 / 1.49 GB, free: 5.879 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.7172, allocations: 3.984 kB / 1.49 GB, free: 5.875 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.7187, allocations: 1.024 MB / 1.491 GB, free: 4.805 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.7187, allocations: 0 / 1.491 GB, free: 4.805 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/0.7193, allocations: 155.7 kB / 1.491 GB, free: 4.652 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/0.7198, allocations: 68.78 kB / 1.491 GB, free: 4.582 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/0.7199, allocations: 35.98 kB / 1.491 GB, free: 4.547 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.722, allocations: 1.559 MB / 1.492 GB, free: 2.867 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.722, allocations: 0 / 1.492 GB, free: 2.867 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.7243, allocations: 0.9869 MB / 1.493 GB, free: 1.863 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006356/0.7249, allocations: 219 kB / 1.493 GB, free: 1.648 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.7251, allocations: 16 kB / 1.493 GB, free: 1.633 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/0.7258, allocations: 67.92 kB / 1.494 GB, free: 1.566 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.726, allocations: 80.73 kB / 1.494 GB, free: 1.488 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.277e-05/0.7261, allocations: 35.98 kB / 1.494 GB, free: 1.453 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0008295/0.7269, allocations: 0.5224 MB / 1.494 GB, free: 0.9336 MB / 1.186 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.7269, allocations: 0 / 1.494 GB, free: 0.9336 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.001413/0.7283, allocations: 402.7 kB / 1.495 GB, free: 0.5391 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.002093/0.7304, allocations: 0.6004 MB / 1.495 GB, free: 112 kB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.002053/0.7324, allocations: 0.8469 MB / 1.496 GB, free: 15.25 MB / 1.201 GB
Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.7325, allocations: 4 kB / 1.496 GB, free: 15.24 MB / 1.201 GB
Notification: Performance of simCode: created simulation system equations: time 0.001047/0.7335, allocations: 0.5159 MB / 1.496 GB, free: 14.72 MB / 1.201 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.735, allocations: 329.5 kB / 1.497 GB, free: 14.42 MB / 1.201 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.7391, allocations: 2.002 MB / 1.499 GB, free: 12.38 MB / 1.201 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/0.7399, allocations: 1.114 MB / 1.5 GB, free: 11.24 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.001078/0.741, allocations: 295.6 kB / 1.5 GB, free: 10.95 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.7413, allocations: 111.4 kB / 1.5 GB, free: 10.84 MB / 1.201 GB
Notification: Performance of SimCode: time 1.262e-06/0.7413, allocations: 0 / 1.5 GB, free: 10.84 MB / 1.201 GB
Notification: Performance of Templates: time 0.03542/0.7767, allocations: 17.17 MB / 1.517 GB, free: 9.859 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: 10.387177509255707]