Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001294/0.001294, 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.001422/0.001422, allocations: 192.4 kB / 22.11 MB, free: 5.156 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.419/1.419, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.194/3.194, allocations: 495.8 MB / 0.783 GB, free: 33.73 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.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness")
translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.8 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3314, allocations: 173.6 MB / 1.307 GB, free: 1.875 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007324/0.3387, allocations: 5.211 MB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1926/0.5312, allocations: 149.7 MB / 1.458 GB, free: 6.367 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.5324, allocations: 23.81 kB / 1.458 GB, free: 6.344 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.5332, allocations: 206.1 kB / 1.458 GB, free: 6.141 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002035/0.5353, allocations: 0.5707 MB / 1.459 GB, free: 5.57 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.5376, allocations: 0.8953 MB / 1.46 GB, free: 4.68 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.002188/0.5398, allocations: 1.46 MB / 1.461 GB, free: 3.215 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008921/0.5407, allocations: 468.6 kB / 1.462 GB, free: 2.73 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009503/0.5416, allocations: 0.5295 MB / 1.462 GB, free: 2.199 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007311/0.5424, allocations: 0.5523 MB / 1.463 GB, free: 1.645 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.5426, allocations: 124 kB / 1.463 GB, free: 1.523 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.5437, allocations: 0.4918 MB / 1.463 GB, free: 1.031 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.544, allocations: 319 kB / 1.463 GB, free: 0.7188 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006101/0.5446, allocations: 0.6102 MB / 1.464 GB, free: 108 kB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.002462/0.5471, allocations: 1.751 MB / 1.466 GB, free: 14.35 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5471, allocations: 0 / 1.466 GB, free: 14.35 MB / 1.17 GB
Notification: Performance of FrontEnd: time 5.611e-06/0.5471, allocations: 4 kB / 1.466 GB, free: 14.34 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.706e-05/0.5471, allocations: 0 / 1.466 GB, free: 14.34 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: 241
 * Number of variables: 241
Notification: Performance of Generate backend data structure: time 0.002947/0.5501, allocations: 1.462 MB / 1.467 GB, free: 12.85 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.5501, allocations: 12.92 kB / 1.467 GB, free: 12.84 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.5513, allocations: 220 kB / 1.467 GB, free: 12.62 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.5527, allocations: 0.7212 MB / 1.468 GB, free: 11.87 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.992e-05/0.5528, allocations: 74 kB / 1.468 GB, free: 11.8 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.5529, allocations: 92 kB / 1.468 GB, free: 11.71 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.5548, allocations: 1.012 MB / 1.469 GB, free: 10.66 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.5548, allocations: 4 kB / 1.469 GB, free: 10.65 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.5549, allocations: 39.98 kB / 1.469 GB, free: 10.61 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.5549, allocations: 24 kB / 1.469 GB, free: 10.59 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.557, allocations: 1.171 MB / 1.47 GB, free: 9.422 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004926/0.562, allocations: 2.976 MB / 1.473 GB, free: 6.293 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.5638, allocations: 0.7959 MB / 1.474 GB, free: 5.484 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/0.5644, allocations: 290.6 kB / 1.474 GB, free: 5.195 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005182/0.5649, allocations: 88.61 kB / 1.475 GB, free: 5.109 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009989/0.5659, allocations: 0.5047 MB / 1.475 GB, free: 4.59 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=82): time 3.266e-06/0.5659, allocations: 0 / 1.475 GB, free: 4.59 MB / 1.17 GB
Notification: Performance of matching and sorting (n=82): time 0.003668/0.5696, allocations: 1.166 MB / 1.476 GB, free: 3.414 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.5697, allocations: 196.6 kB / 1.476 GB, free: 3.18 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009651/0.5707, allocations: 0.6411 MB / 1.477 GB, free: 2.531 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.5708, allocations: 41.7 kB / 1.477 GB, free: 2.484 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.5712, allocations: 433 kB / 1.477 GB, free: 2.055 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.5714, allocations: 285.6 kB / 1.478 GB, free: 1.773 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.5717, allocations: 166.6 kB / 1.478 GB, free: 1.605 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001967/0.5719, allocations: 382.8 kB / 1.478 GB, free: 1.223 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006742/0.5726, allocations: 277.8 kB / 1.478 GB, free: 0.9492 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007432/0.5733, allocations: 379.1 kB / 1.479 GB, free: 0.5664 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.5747, allocations: 0.6346 MB / 1.479 GB, free: 15.91 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.5747, allocations: 0 / 1.479 GB, free: 15.91 MB / 1.186 GB
Notification: Performance of matching and sorting (n=98) (initialization): time 0.002336/0.577, allocations: 0.8803 MB / 1.48 GB, free: 15.02 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.577, allocations: 4 kB / 1.48 GB, free: 15.02 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.577, allocations: 4 kB / 1.48 GB, free: 15.02 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/0.5777, allocations: 84.86 kB / 1.48 GB, free: 14.93 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007127/0.5784, allocations: 155.8 kB / 1.481 GB, free: 14.78 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.5807, allocations: 1.532 MB / 1.482 GB, free: 13.12 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009005/0.5816, allocations: 110 kB / 1.482 GB, free: 13.02 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.5817, allocations: 35.98 kB / 1.482 GB, free: 12.98 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 (96):
 * Single equations (assignments): 95
 * 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.0005771/0.5823, allocations: 272.2 kB / 1.482 GB, free: 12.71 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.5825, allocations: 87.44 kB / 1.483 GB, free: 12.62 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.5851, allocations: 1.101 MB / 1.484 GB, free: 11.51 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.5852, allocations: 12 kB / 1.484 GB, free: 11.5 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.5852, allocations: 0 / 1.484 GB, free: 11.5 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.5852, allocations: 7.922 kB / 1.484 GB, free: 11.49 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003715/0.5889, allocations: 1.977 MB / 1.486 GB, free: 9.465 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.5889, allocations: 3.984 kB / 1.486 GB, free: 9.461 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006368/0.5895, allocations: 155.7 kB / 1.486 GB, free: 9.309 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004708/0.59, allocations: 72.72 kB / 1.486 GB, free: 9.234 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.108e-05/0.5901, allocations: 23.98 kB / 1.486 GB, free: 9.211 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.5922, allocations: 1.558 MB / 1.487 GB, free: 7.527 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5922, allocations: 0 / 1.487 GB, free: 7.527 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.5946, allocations: 1.034 MB / 1.488 GB, free: 6.477 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.595, allocations: 199.1 kB / 1.489 GB, free: 6.281 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.5952, allocations: 23.89 kB / 1.489 GB, free: 6.258 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007117/0.5959, allocations: 64.06 kB / 1.489 GB, free: 6.195 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.596, allocations: 80.84 kB / 1.489 GB, free: 6.113 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.183e-05/0.5961, allocations: 43.91 kB / 1.489 GB, free: 6.07 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.000663/0.5968, allocations: 463 kB / 1.489 GB, free: 5.621 MB / 1.186 GB
Notification: Performance of sort global known variables: time 8e-08/0.5968, allocations: 0 / 1.489 GB, free: 5.621 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.001016/0.5978, allocations: 359.1 kB / 1.49 GB, free: 5.27 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (93):
 * Single equations (assignments): 87
 * 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.002028/0.5998, allocations: 0.621 MB / 1.49 GB, free: 4.82 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.002038/0.6019, allocations: 0.8234 MB / 1.491 GB, free: 3.988 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.6019, allocations: 0 / 1.491 GB, free: 3.988 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.00109/0.603, allocations: 0.5081 MB / 1.491 GB, free: 3.469 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.6044, allocations: 308.1 kB / 1.492 GB, free: 3.195 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.608, allocations: 1.743 MB / 1.493 GB, free: 1.418 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.6087, allocations: 1.049 MB / 1.494 GB, free: 348 kB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0008647/0.6095, allocations: 274.7 kB / 1.495 GB, free: 68 kB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.6098, allocations: 107.4 kB / 1.495 GB, free: 15.96 MB / 1.201 GB
Notification: Performance of SimCode: time 8.82e-07/0.6098, allocations: 0 / 1.495 GB, free: 15.96 MB / 1.201 GB
Notification: Performance of Templates: time 0.03075/0.6406, allocations: 16.48 MB / 1.511 GB, free: 15.66 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.70782024692744]