Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001632/0.001632, 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.001899/0.001899, allocations: 189.7 kB / 22.1 MB, free: 5.148 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.08 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.121/3.121, allocations: 495.8 MB / 0.783 GB, free: 33.54 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass")
translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 64.92 kB / 1.137 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3927, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.01108/0.4038, allocations: 5.162 MB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1986/0.6024, allocations: 149.6 MB / 1.458 GB, free: 6.457 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.6037, allocations: 23.81 kB / 1.458 GB, free: 6.434 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008589/0.6046, allocations: 206.1 kB / 1.458 GB, free: 6.23 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002386/0.607, allocations: 0.5654 MB / 1.459 GB, free: 5.668 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.6098, allocations: 0.876 MB / 1.46 GB, free: 4.797 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.002493/0.6123, allocations: 1.444 MB / 1.461 GB, free: 3.348 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009032/0.6132, allocations: 472.5 kB / 1.461 GB, free: 2.859 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008641/0.6141, allocations: 0.5256 MB / 1.462 GB, free: 2.332 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007481/0.6148, allocations: 0.5523 MB / 1.462 GB, free: 1.777 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.000199/0.615, allocations: 128 kB / 1.463 GB, free: 1.652 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.6161, allocations: 483.7 kB / 1.463 GB, free: 1.18 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003346/0.6164, allocations: 319 kB / 1.463 GB, free: 0.8672 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006348/0.6171, allocations: 0.6064 MB / 1.464 GB, free: 264 kB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.002354/0.6194, allocations: 1.735 MB / 1.466 GB, free: 14.52 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6194, allocations: 0 / 1.466 GB, free: 14.52 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.653e-06/0.6194, allocations: 0 / 1.466 GB, free: 14.52 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 2.321e-05/0.6195, allocations: 0 / 1.466 GB, free: 14.52 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: 240
 * Number of variables: 240
Notification: Performance of Generate backend data structure: time 0.002979/0.6224, allocations: 1.46 MB / 1.467 GB, free: 13.02 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.6225, allocations: 8.031 kB / 1.467 GB, free: 13.02 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.6236, allocations: 220 kB / 1.467 GB, free: 12.8 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.625, allocations: 0.7174 MB / 1.468 GB, free: 12.05 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/0.625, allocations: 74 kB / 1.468 GB, free: 11.98 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.6252, allocations: 91.94 kB / 1.468 GB, free: 11.89 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.6271, allocations: 1.007 MB / 1.469 GB, free: 10.85 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.6271, allocations: 0 / 1.469 GB, free: 10.85 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.6273, allocations: 40 kB / 1.469 GB, free: 10.81 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.6273, allocations: 20 kB / 1.469 GB, free: 10.79 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.6295, allocations: 1.182 MB / 1.47 GB, free: 9.609 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004915/0.6344, allocations: 2.879 MB / 1.473 GB, free: 6.578 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.637, allocations: 0.8514 MB / 1.474 GB, free: 5.715 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006231/0.6376, allocations: 282.7 kB / 1.474 GB, free: 5.434 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.797e-05/0.6377, allocations: 32.59 kB / 1.474 GB, free: 5.402 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009915/0.6386, allocations: 0.5009 MB / 1.475 GB, free: 4.887 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=82): time 2.525e-06/0.6386, allocations: 0 / 1.475 GB, free: 4.887 MB / 1.17 GB
Notification: Performance of matching and sorting (n=82): time 0.003609/0.6423, allocations: 1.158 MB / 1.476 GB, free: 3.719 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.6424, allocations: 196.5 kB / 1.476 GB, free: 3.484 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009273/0.6433, allocations: 0.641 MB / 1.477 GB, free: 2.836 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 9.081e-05/0.6434, allocations: 49.62 kB / 1.477 GB, free: 2.781 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.6438, allocations: 425 kB / 1.477 GB, free: 2.359 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.6441, allocations: 285.6 kB / 1.477 GB, free: 2.078 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.6444, allocations: 162.5 kB / 1.478 GB, free: 1.914 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.000211/0.6446, allocations: 394.7 kB / 1.478 GB, free: 1.52 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006354/0.6452, allocations: 273.8 kB / 1.478 GB, free: 1.25 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/0.646, allocations: 383 kB / 1.479 GB, free: 0.8633 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.6473, allocations: 0.6151 MB / 1.479 GB, free: 240 kB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.6473, allocations: 0 / 1.479 GB, free: 240 kB / 1.17 GB
Notification: Performance of matching and sorting (n=98) (initialization): time 0.002309/0.6496, allocations: 0.8842 MB / 1.48 GB, free: 15.34 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6496, allocations: 12.09 kB / 1.48 GB, free: 15.33 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6496, allocations: 0 / 1.48 GB, free: 15.33 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.6502, allocations: 72.78 kB / 1.48 GB, free: 15.25 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.651, allocations: 175.7 kB / 1.48 GB, free: 15.08 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.6534, allocations: 1.525 MB / 1.482 GB, free: 13.44 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/0.6542, allocations: 97.12 kB / 1.482 GB, free: 13.34 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/0.6543, allocations: 39.97 kB / 1.482 GB, free: 13.3 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.0005222/0.6548, allocations: 279.4 kB / 1.482 GB, free: 13.02 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.655, allocations: 87.44 kB / 1.482 GB, free: 12.94 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.6577, allocations: 1.093 MB / 1.483 GB, free: 11.83 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6577, allocations: 12 kB / 1.483 GB, free: 11.82 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6577, allocations: 3.938 kB / 1.483 GB, free: 11.81 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.6577, allocations: 7.984 kB / 1.483 GB, free: 11.8 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003802/0.6616, allocations: 1.977 MB / 1.485 GB, free: 9.777 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6616, allocations: 4 kB / 1.485 GB, free: 9.773 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006559/0.6622, allocations: 147.8 kB / 1.485 GB, free: 9.629 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/0.6627, allocations: 76.78 kB / 1.485 GB, free: 9.551 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/0.6627, allocations: 23.98 kB / 1.486 GB, free: 9.527 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.6649, allocations: 1.547 MB / 1.487 GB, free: 7.855 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6649, allocations: 8 kB / 1.487 GB, free: 7.848 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.6673, allocations: 1.03 MB / 1.488 GB, free: 6.801 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/0.6678, allocations: 211 kB / 1.488 GB, free: 6.594 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.6679, allocations: 16 kB / 1.488 GB, free: 6.578 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007228/0.6686, allocations: 71.92 kB / 1.488 GB, free: 6.508 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.6689, allocations: 72.86 kB / 1.488 GB, free: 6.434 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/0.6689, allocations: 44.03 kB / 1.488 GB, free: 6.391 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006776/0.6696, allocations: 470.9 kB / 1.489 GB, free: 5.934 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.3e-07/0.6696, allocations: 0 / 1.489 GB, free: 5.934 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.001029/0.6706, allocations: 347.1 kB / 1.489 GB, free: 5.594 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 (94):
 * Single equations (assignments): 88
 * 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.002117/0.6728, allocations: 0.6032 MB / 1.49 GB, free: 5.164 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.002052/0.6748, allocations: 0.8196 MB / 1.491 GB, free: 4.336 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.6748, allocations: 8 kB / 1.491 GB, free: 4.328 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001117/0.6759, allocations: 0.4924 MB / 1.491 GB, free: 3.824 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.6774, allocations: 317.1 kB / 1.491 GB, free: 3.539 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.6809, allocations: 1.75 MB / 1.493 GB, free: 1.754 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.6816, allocations: 1.039 MB / 1.494 GB, free: 0.6836 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0008814/0.6825, allocations: 266.8 kB / 1.494 GB, free: 428 kB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.6828, allocations: 111.4 kB / 1.494 GB, free: 316 kB / 1.186 GB
Notification: Performance of SimCode: time 1.182e-06/0.6828, allocations: 0 / 1.494 GB, free: 316 kB / 1.186 GB
Notification: Performance of Templates: time 0.03065/0.7135, allocations: 16.28 MB / 1.51 GB, free: 208 kB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.90976928267628]