Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.001584/0.001584, 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.001704/0.001704, allocations: 190 kB / 22.1 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.451/1.451, 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.205/3.205, allocations: 495.8 MB / 0.783 GB, free: 33.51 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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic")
translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.8 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3772, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007704/0.3849, allocations: 4.894 MB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1907/0.5756, allocations: 149.6 MB / 1.458 GB, free: 6.793 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009807/0.5766, allocations: 23.81 kB / 1.458 GB, free: 6.77 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006223/0.5773, allocations: 194.2 kB / 1.458 GB, free: 6.578 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.001736/0.579, allocations: 0.5511 MB / 1.458 GB, free: 6.027 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.581, allocations: 0.8536 MB / 1.459 GB, free: 5.18 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001567/0.5826, allocations: 1.378 MB / 1.46 GB, free: 3.797 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006951/0.5833, allocations: 417.9 kB / 1.461 GB, free: 3.359 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006321/0.5839, allocations: 494.3 kB / 1.461 GB, free: 2.875 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006321/0.5845, allocations: 0.5016 MB / 1.462 GB, free: 2.371 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.5847, allocations: 116 kB / 1.462 GB, free: 2.258 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.5856, allocations: 471.7 kB / 1.462 GB, free: 1.797 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.5859, allocations: 295 kB / 1.463 GB, free: 1.508 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005114/0.5864, allocations: 0.548 MB / 1.463 GB, free: 0.957 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.002068/0.5885, allocations: 1.63 MB / 1.465 GB, free: 15.32 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5885, allocations: 0 / 1.465 GB, free: 15.32 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.523e-06/0.5885, allocations: 0 / 1.465 GB, free: 15.32 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.231e-05/0.5885, allocations: 0 / 1.465 GB, free: 15.32 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: 211
 * Number of variables: 211
Notification: Performance of Generate backend data structure: time 0.002645/0.5912, allocations: 1.392 MB / 1.466 GB, free: 13.9 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5912, allocations: 8.031 kB / 1.466 GB, free: 13.89 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000928/0.5921, allocations: 192.1 kB / 1.466 GB, free: 13.7 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.5935, allocations: 0.6901 MB / 1.467 GB, free: 12.98 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.025e-05/0.5935, allocations: 66 kB / 1.467 GB, free: 12.92 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.5937, allocations: 83.98 kB / 1.467 GB, free: 12.84 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.5953, allocations: 0.9067 MB / 1.468 GB, free: 11.89 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.5953, allocations: 0 / 1.468 GB, free: 11.89 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.953e-05/0.5954, allocations: 40 kB / 1.468 GB, free: 11.85 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.5954, allocations: 23.98 kB / 1.468 GB, free: 11.83 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.5972, allocations: 1.1 MB / 1.469 GB, free: 10.73 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004172/0.6014, allocations: 2.662 MB / 1.472 GB, free: 7.938 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.6029, allocations: 0.7549 MB / 1.473 GB, free: 7.172 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/0.6035, allocations: 282.6 kB / 1.473 GB, free: 6.895 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.101e-05/0.6035, allocations: 24.7 kB / 1.473 GB, free: 6.871 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009344/0.6045, allocations: 499.1 kB / 1.473 GB, free: 6.363 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=80): time 2.164e-06/0.6045, allocations: 0 / 1.473 GB, free: 6.363 MB / 1.17 GB
Notification: Performance of matching and sorting (n=80): time 0.003411/0.6079, allocations: 1.123 MB / 1.474 GB, free: 5.23 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.608, allocations: 192.6 kB / 1.475 GB, free: 5 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008824/0.6089, allocations: 0.6293 MB / 1.475 GB, free: 4.363 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 9.515e-05/0.609, allocations: 41.7 kB / 1.475 GB, free: 4.316 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.6094, allocations: 401 kB / 1.476 GB, free: 3.918 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.6096, allocations: 269.7 kB / 1.476 GB, free: 3.652 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.6099, allocations: 170.6 kB / 1.476 GB, free: 3.48 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002068/0.6101, allocations: 390.7 kB / 1.476 GB, free: 3.09 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/0.6106, allocations: 265.9 kB / 1.477 GB, free: 2.828 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006698/0.6113, allocations: 363.1 kB / 1.477 GB, free: 2.461 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.6125, allocations: 0.6072 MB / 1.478 GB, free: 1.84 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6125, allocations: 0 / 1.478 GB, free: 1.84 MB / 1.17 GB
Notification: Performance of matching and sorting (n=97) (initialization): time 0.002127/0.6146, allocations: 0.8609 MB / 1.478 GB, free: 0.9688 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6147, allocations: 5.406 kB / 1.478 GB, free: 0.9648 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.6147, allocations: 0 / 1.478 GB, free: 0.9648 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/0.6153, allocations: 84.83 kB / 1.479 GB, free: 0.8789 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/0.616, allocations: 159.7 kB / 1.479 GB, free: 0.7227 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.6183, allocations: 1.537 MB / 1.48 GB, free: 15.07 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/0.6191, allocations: 95.56 kB / 1.48 GB, free: 14.97 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.6192, allocations: 39.97 kB / 1.48 GB, free: 14.93 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 (95):
 * Single equations (assignments): 94
 * 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.0005244/0.6197, allocations: 267.9 kB / 1.481 GB, free: 14.66 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.6199, allocations: 83.48 kB / 1.481 GB, free: 14.58 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.6223, allocations: 1.054 MB / 1.482 GB, free: 13.51 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6223, allocations: 8 kB / 1.482 GB, free: 13.5 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6223, allocations: 7.938 kB / 1.482 GB, free: 13.5 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.6223, allocations: 7.969 kB / 1.482 GB, free: 13.49 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.6234, allocations: 0.8599 MB / 1.483 GB, free: 12.58 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.6234, allocations: 7.922 kB / 1.483 GB, free: 12.57 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005903/0.624, allocations: 147.8 kB / 1.483 GB, free: 12.43 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.6245, allocations: 68.8 kB / 1.483 GB, free: 12.36 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.6246, allocations: 27.97 kB / 1.483 GB, free: 12.33 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.6266, allocations: 1.563 MB / 1.484 GB, free: 10.65 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6266, allocations: 0 / 1.484 GB, free: 10.65 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.6286, allocations: 0.9283 MB / 1.485 GB, free: 9.699 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/0.629, allocations: 195.1 kB / 1.485 GB, free: 9.508 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.6291, allocations: 23.95 kB / 1.485 GB, free: 9.484 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.6297, allocations: 61.02 kB / 1.485 GB, free: 9.426 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.6299, allocations: 80.86 kB / 1.486 GB, free: 9.348 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/0.63, allocations: 35.92 kB / 1.486 GB, free: 9.312 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0005878/0.6306, allocations: 455 kB / 1.486 GB, free: 8.875 MB / 1.186 GB
Notification: Performance of sort global known variables: time 8e-08/0.6306, allocations: 0 / 1.486 GB, free: 8.875 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0008624/0.6315, allocations: 319.2 kB / 1.486 GB, free: 8.562 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 (91):
 * Single equations (assignments): 85
 * 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.001943/0.6334, allocations: 0.5995 MB / 1.487 GB, free: 8.137 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001838/0.6352, allocations: 0.8039 MB / 1.488 GB, free: 7.32 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6352, allocations: 0 / 1.488 GB, free: 7.32 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009414/0.6362, allocations: 496.4 kB / 1.488 GB, free: 6.828 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.6374, allocations: 308.7 kB / 1.488 GB, free: 6.547 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.6405, allocations: 1.664 MB / 1.49 GB, free: 4.848 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006892/0.6412, allocations: 1.016 MB / 1.491 GB, free: 3.805 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0007343/0.6419, allocations: 266.6 kB / 1.491 GB, free: 3.539 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.6421, allocations: 107.4 kB / 1.491 GB, free: 3.434 MB / 1.186 GB
Notification: Performance of SimCode: time 5.91e-07/0.6421, allocations: 0 / 1.491 GB, free: 3.434 MB / 1.186 GB
Notification: Performance of Templates: time 0.03169/0.6738, allocations: 15.71 MB / 1.507 GB, free: 3.922 MB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.791829895228148]