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.001723/0.001723, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.002003/0.002003, allocations: 189 kB / 22.22 MB, free: 5.105 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.488/1.488, allocations: 225.6 MB / 251 MB, free: 13.02 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.237/3.237, allocations: 496 MB / 0.7835 GB, free: 33.62 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.00282/0.00282, allocations: 63.61 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4223, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007565/0.4299, allocations: 5.24 MB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.2159/0.6458, allocations: 151.3 MB / 1.46 GB, free: 4.672 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.6469, allocations: 19.88 kB / 1.46 GB, free: 4.652 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007517/0.6476, allocations: 210.1 kB / 1.46 GB, free: 4.445 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002358/0.65, allocations: 0.578 MB / 1.461 GB, free: 3.867 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.6527, allocations: 0.8829 MB / 1.462 GB, free: 2.988 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001909/0.6547, allocations: 1.46 MB / 1.463 GB, free: 1.523 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008678/0.6555, allocations: 476.6 kB / 1.464 GB, free: 1.031 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000859/0.6564, allocations: 0.5295 MB / 1.464 GB, free: 0.5 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007572/0.6571, allocations: 0.5523 MB / 1.465 GB, free: 15.95 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.6573, allocations: 124 kB / 1.465 GB, free: 15.82 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.6584, allocations: 0.4996 MB / 1.465 GB, free: 15.32 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003276/0.6587, allocations: 323 kB / 1.466 GB, free: 15.01 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006068/0.6593, allocations: 0.6102 MB / 1.466 GB, free: 14.39 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002324/0.6616, allocations: 1.755 MB / 1.468 GB, free: 12.63 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6616, allocations: 0 / 1.468 GB, free: 12.63 MB / 1.17 GB
Notification: Performance of FrontEnd: time 2.505e-06/0.6616, allocations: 4 kB / 1.468 GB, free: 12.63 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 2.585e-05/0.6617, allocations: 3.938 kB / 1.468 GB, free: 12.62 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.002742/0.6644, allocations: 1.469 MB / 1.469 GB, free: 11.12 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.6645, allocations: 12.03 kB / 1.469 GB, free: 11.11 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.6655, allocations: 224 kB / 1.47 GB, free: 10.89 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.6668, allocations: 0.7173 MB / 1.47 GB, free: 10.14 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.6668, allocations: 70 kB / 1.47 GB, free: 10.08 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.667, allocations: 95.98 kB / 1.47 GB, free: 9.984 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.6688, allocations: 1.012 MB / 1.471 GB, free: 8.93 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.6688, allocations: 0 / 1.471 GB, free: 8.93 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.106e-05/0.6689, allocations: 40 kB / 1.471 GB, free: 8.891 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.6689, allocations: 24 kB / 1.472 GB, free: 8.867 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.6709, allocations: 1.179 MB / 1.473 GB, free: 7.691 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004613/0.6755, allocations: 2.988 MB / 1.476 GB, free: 4.547 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.6772, allocations: 0.796 MB / 1.476 GB, free: 3.738 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.6778, allocations: 290.7 kB / 1.477 GB, free: 3.449 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/0.6783, allocations: 84.61 kB / 1.477 GB, free: 3.367 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009607/0.6793, allocations: 0.5047 MB / 1.477 GB, free: 2.848 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=82): time 2.825e-06/0.6793, allocations: 4 kB / 1.477 GB, free: 2.844 MB / 1.17 GB
Notification: Performance of matching and sorting (n=82): time 0.003434/0.6827, allocations: 1.162 MB / 1.478 GB, free: 1.672 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.6829, allocations: 192.6 kB / 1.479 GB, free: 1.441 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009465/0.6838, allocations: 0.645 MB / 1.479 GB, free: 0.7891 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.6839, allocations: 45.69 kB / 1.479 GB, free: 0.7383 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.6843, allocations: 425.1 kB / 1.48 GB, free: 324 kB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.6845, allocations: 281.6 kB / 1.48 GB, free: 40 kB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/0.6848, allocations: 166.6 kB / 1.48 GB, free: 15.87 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0002068/0.685, allocations: 386.7 kB / 1.48 GB, free: 15.48 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.6856, allocations: 281.8 kB / 1.481 GB, free: 15.21 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.6863, allocations: 375.1 kB / 1.481 GB, free: 14.83 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.6875, allocations: 0.6307 MB / 1.482 GB, free: 14.18 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6875, allocations: 64 / 1.482 GB, free: 14.18 MB / 1.186 GB
Notification: Performance of matching and sorting (n=98) (initialization): time 0.002066/0.6896, allocations: 0.8842 MB / 1.483 GB, free: 13.29 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6896, allocations: 8.094 kB / 1.483 GB, free: 13.28 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.6896, allocations: 4 kB / 1.483 GB, free: 13.28 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008825/0.6905, allocations: 80.77 kB / 1.483 GB, free: 13.2 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.6912, allocations: 167.8 kB / 1.483 GB, free: 13.03 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.6935, allocations: 1.533 MB / 1.484 GB, free: 11.38 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007928/0.6943, allocations: 100.5 kB / 1.484 GB, free: 11.28 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.6944, allocations: 39.97 kB / 1.484 GB, free: 11.24 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.0005074/0.6949, allocations: 272.3 kB / 1.485 GB, free: 10.97 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.6951, allocations: 87.44 kB / 1.485 GB, free: 10.88 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/0.6977, allocations: 1.097 MB / 1.486 GB, free: 9.77 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.6977, allocations: 8 kB / 1.486 GB, free: 9.762 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6977, allocations: 8 kB / 1.486 GB, free: 9.754 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.6977, allocations: 3.984 kB / 1.486 GB, free: 9.75 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/0.7014, allocations: 1.977 MB / 1.488 GB, free: 7.723 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7014, allocations: 0 / 1.488 GB, free: 7.723 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.702, allocations: 147.8 kB / 1.488 GB, free: 7.578 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/0.7024, allocations: 72.78 kB / 1.488 GB, free: 7.504 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.327e-05/0.7025, allocations: 31.91 kB / 1.488 GB, free: 7.473 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.7045, allocations: 1.552 MB / 1.49 GB, free: 5.797 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7045, allocations: 0 / 1.49 GB, free: 5.797 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.7067, allocations: 1.03 MB / 1.491 GB, free: 4.75 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.7071, allocations: 199.1 kB / 1.491 GB, free: 4.555 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.7073, allocations: 23.94 kB / 1.491 GB, free: 4.531 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006709/0.7079, allocations: 63.94 kB / 1.491 GB, free: 4.469 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/0.7082, allocations: 76.84 kB / 1.491 GB, free: 4.391 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.7083, allocations: 39.92 kB / 1.491 GB, free: 4.352 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006641/0.7089, allocations: 467 kB / 1.491 GB, free: 3.898 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.7089, allocations: 0 / 1.491 GB, free: 3.898 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0009788/0.7099, allocations: 359 kB / 1.492 GB, free: 3.547 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.002024/0.7119, allocations: 0.6301 MB / 1.492 GB, free: 3.09 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001982/0.7139, allocations: 0.8197 MB / 1.493 GB, free: 2.262 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7139, allocations: 0 / 1.493 GB, free: 2.262 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001016/0.7149, allocations: 0.5041 MB / 1.494 GB, free: 1.746 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.7162, allocations: 307.4 kB / 1.494 GB, free: 1.477 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.7198, allocations: 1.762 MB / 1.496 GB, free: 15.68 MB / 1.201 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008392/0.7206, allocations: 1.039 MB / 1.497 GB, free: 14.61 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0008596/0.7215, allocations: 274.7 kB / 1.497 GB, free: 14.34 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.7218, allocations: 107.3 kB / 1.497 GB, free: 14.23 MB / 1.201 GB
Notification: Performance of SimCode: time 9.92e-07/0.7218, allocations: 0 / 1.497 GB, free: 14.23 MB / 1.201 GB
Notification: Performance of Templates: time 0.03061/0.7524, allocations: 16.47 MB / 1.513 GB, free: 13.93 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: 10.080268396064639]