Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001933/0.001933, allocations: 113.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.002622/0.002622, allocations: 188.9 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.435/1.435, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.858/2.858, allocations: 476.7 MB / 0.7646 GB, free: 9.938 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness")
translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.89 kB / 1.11 GB, free: 6.414 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8444, allocations: 168.8 MB / 1.274 GB, free: 4.266 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.01037/0.8547, allocations: 5.221 MB / 1.279 GB, free: 15.02 MB / 0.9825 GB
Notification: Performance of NFInst.instExpressions: time 0.2012/1.056, allocations: 151.3 MB / 1.427 GB, free: 7.168 MB / 1.123 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/1.057, allocations: 23.81 kB / 1.427 GB, free: 7.145 MB / 1.123 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007148/1.058, allocations: 202.1 kB / 1.427 GB, free: 6.945 MB / 1.123 GB
Notification: Performance of NFTyping.typeBindings: time 0.00216/1.06, allocations: 0.5698 MB / 1.428 GB, free: 6.379 MB / 1.123 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002287/1.062, allocations: 0.8742 MB / 1.429 GB, free: 5.508 MB / 1.123 GB
Notification: Performance of NFFlatten.flatten: time 0.002286/1.064, allocations: 1.464 MB / 1.43 GB, free: 4.035 MB / 1.123 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009264/1.065, allocations: 482.2 kB / 1.431 GB, free: 3.535 MB / 1.123 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009471/1.066, allocations: 0.5334 MB / 1.431 GB, free: 3 MB / 1.123 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007558/1.067, allocations: 0.5562 MB / 1.432 GB, free: 2.441 MB / 1.123 GB
Notification: Performance of NFPackage.collectConstants: time 0.000174/1.067, allocations: 128 kB / 1.432 GB, free: 2.316 MB / 1.123 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001076/1.068, allocations: 499.6 kB / 1.432 GB, free: 1.828 MB / 1.123 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003306/1.069, allocations: 327 kB / 1.433 GB, free: 1.508 MB / 1.123 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006661/1.069, allocations: 0.6102 MB / 1.433 GB, free: 0.8945 MB / 1.123 GB
Notification: Performance of NFConvertDAE.convert: time 0.00282/1.072, allocations: 1.758 MB / 1.435 GB, free: 15.13 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.072, allocations: 7.938 kB / 1.435 GB, free: 15.12 MB / 1.139 GB
Notification: Performance of FrontEnd: time 2.134e-06/1.072, allocations: 0 / 1.435 GB, free: 15.12 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 3.182e-05/1.072, allocations: 0 / 1.435 GB, free: 15.12 MB / 1.139 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 245
 * Number of variables: 245
Notification: Performance of Generate backend data structure: time 0.003362/1.076, allocations: 1.462 MB / 1.436 GB, free: 13.63 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.076, allocations: 8.031 kB / 1.436 GB, free: 13.62 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/1.077, allocations: 307.9 kB / 1.437 GB, free: 13.32 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/1.079, allocations: 0.7328 MB / 1.437 GB, free: 12.56 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.808e-05/1.079, allocations: 78 kB / 1.437 GB, free: 12.48 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/1.079, allocations: 95.98 kB / 1.438 GB, free: 12.39 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/1.081, allocations: 1.066 MB / 1.439 GB, free: 11.29 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.081, allocations: 0 / 1.439 GB, free: 11.29 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/1.082, allocations: 40 kB / 1.439 GB, free: 11.25 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/1.082, allocations: 28 kB / 1.439 GB, free: 11.22 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/1.084, allocations: 1.268 MB / 1.44 GB, free: 9.953 MB / 1.139 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005512/1.09, allocations: 2.912 MB / 1.443 GB, free: 6.914 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002736/1.092, allocations: 0.8975 MB / 1.444 GB, free: 6.012 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008344/1.093, allocations: 334.6 kB / 1.444 GB, free: 5.68 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.008e-05/1.093, allocations: 36.59 kB / 1.444 GB, free: 5.641 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/1.094, allocations: 0.5528 MB / 1.445 GB, free: 5.07 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=84): time 3.086e-06/1.094, allocations: 0 / 1.445 GB, free: 5.07 MB / 1.139 GB
Notification: Performance of matching and sorting (n=84): time 0.004182/1.099, allocations: 1.32 MB / 1.446 GB, free: 3.742 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.099, allocations: 188.9 kB / 1.446 GB, free: 3.516 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009344/1.1, allocations: 0.641 MB / 1.447 GB, free: 2.867 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 8.796e-05/1.1, allocations: 41.7 kB / 1.447 GB, free: 2.82 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000406/1.1, allocations: 444.9 kB / 1.447 GB, free: 2.379 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002595/1.1, allocations: 281.6 kB / 1.447 GB, free: 2.102 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/1.101, allocations: 170.6 kB / 1.448 GB, free: 1.926 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.0002075/1.101, allocations: 382.8 kB / 1.448 GB, free: 1.543 MB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008128/1.102, allocations: 325.8 kB / 1.448 GB, free: 1.227 MB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009212/1.103, allocations: 427 kB / 1.449 GB, free: 0.7969 MB / 1.139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/1.104, allocations: 0.7101 MB / 1.449 GB, free: 76 kB / 1.139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.104, allocations: 0 / 1.449 GB, free: 76 kB / 1.139 GB
Notification: Performance of matching and sorting (n=100) (initialization): time 0.002742/1.107, allocations: 0.9779 MB / 1.45 GB, free: 15.09 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.107, allocations: 4 kB / 1.45 GB, free: 15.09 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.107, allocations: 7.938 kB / 1.45 GB, free: 15.08 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006512/1.108, allocations: 84.86 kB / 1.45 GB, free: 14.99 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/1.109, allocations: 179.8 kB / 1.451 GB, free: 14.82 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/1.111, allocations: 1.546 MB / 1.452 GB, free: 13.15 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.112, allocations: 115.6 kB / 1.452 GB, free: 13.04 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.112, allocations: 35.97 kB / 1.452 GB, free: 13 MB / 1.154 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 (98):
 * Single equations (assignments): 97
 * 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.0006961/1.113, allocations: 275.4 kB / 1.452 GB, free: 12.72 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/1.113, allocations: 91.44 kB / 1.453 GB, free: 12.63 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/1.116, allocations: 1.198 MB / 1.454 GB, free: 11.41 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/1.117, allocations: 12 kB / 1.454 GB, free: 11.4 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.117, allocations: 8 kB / 1.454 GB, free: 11.39 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.117, allocations: 3.984 kB / 1.454 GB, free: 11.39 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004517/1.121, allocations: 2.105 MB / 1.456 GB, free: 9.234 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.121, allocations: 0 / 1.456 GB, free: 9.234 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/1.122, allocations: 175.8 kB / 1.456 GB, free: 9.062 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/1.122, allocations: 72.72 kB / 1.456 GB, free: 8.988 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-05/1.122, allocations: 31.98 kB / 1.456 GB, free: 8.957 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/1.125, allocations: 1.559 MB / 1.458 GB, free: 7.281 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.125, allocations: 0 / 1.458 GB, free: 7.281 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/1.127, allocations: 1.119 MB / 1.459 GB, free: 6.141 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005945/1.128, allocations: 203.1 kB / 1.459 GB, free: 5.941 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/1.128, allocations: 20 kB / 1.459 GB, free: 5.922 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008829/1.129, allocations: 83.91 kB / 1.459 GB, free: 5.84 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/1.129, allocations: 80.8 kB / 1.459 GB, free: 5.762 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.932e-05/1.129, allocations: 35.97 kB / 1.459 GB, free: 5.727 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 0.0007312/1.13, allocations: 467 kB / 1.459 GB, free: 5.273 MB / 1.154 GB
Notification: Performance of sort global known variables: time 1.1e-07/1.13, allocations: 3.938 kB / 1.46 GB, free: 5.27 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.001178/1.131, allocations: 359 kB / 1.46 GB, free: 4.918 MB / 1.154 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 (97):
 * Single equations (assignments): 91
 * 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.002185/1.133, allocations: 0.6094 MB / 1.46 GB, free: 4.484 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.002674/1.136, allocations: 0.9173 MB / 1.461 GB, free: 3.555 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.136, allocations: 7.938 kB / 1.461 GB, free: 3.547 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.001332/1.138, allocations: 0.5393 MB / 1.462 GB, free: 3 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/1.139, allocations: 316.3 kB / 1.462 GB, free: 2.711 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/1.143, allocations: 1.829 MB / 1.464 GB, free: 0.8516 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009149/1.144, allocations: 1.047 MB / 1.465 GB, free: 15.77 MB / 1.17 GB
Notification: Performance of simCode: alias equations: time 0.001127/1.145, allocations: 271 kB / 1.465 GB, free: 15.5 MB / 1.17 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/1.146, allocations: 111.4 kB / 1.465 GB, free: 15.39 MB / 1.17 GB
Notification: Performance of SimCode: time 1.062e-06/1.146, allocations: 0 / 1.465 GB, free: 15.39 MB / 1.17 GB
Notification: Performance of Templates: time 0.03281/1.178, allocations: 16.62 MB / 1.482 GB, free: 14.96 MB / 1.186 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.012777282856405]