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.001955/0.001955, allocations: 113.9 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.002152/0.002152, allocations: 191.7 kB / 22.23 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.493/1.493, 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.236/3.236, allocations: 496 MB / 0.7835 GB, free: 33.67 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.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.001977/0.001977, allocations: 62.64 kB / 1.138 GB, free: 33.9 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3563, allocations: 173.6 MB / 1.307 GB, free: 1.762 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00738/0.3637, allocations: 5.187 MB / 1.312 GB, free: 12.55 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.194/0.5577, allocations: 151.3 MB / 1.46 GB, free: 4.703 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008997/0.5586, allocations: 19.88 kB / 1.46 GB, free: 4.684 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006603/0.5593, allocations: 210.1 kB / 1.46 GB, free: 4.477 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.001943/0.5612, allocations: 0.5628 MB / 1.461 GB, free: 3.914 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.5637, allocations: 0.8736 MB / 1.462 GB, free: 3.047 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.002174/0.5659, allocations: 1.448 MB / 1.463 GB, free: 1.594 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009666/0.5669, allocations: 472.5 kB / 1.464 GB, free: 1.105 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009085/0.5678, allocations: 0.5256 MB / 1.464 GB, free: 0.5781 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008768/0.5687, allocations: 0.5485 MB / 1.465 GB, free: 28 kB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.5689, allocations: 128 kB / 1.465 GB, free: 15.9 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.57, allocations: 499.6 kB / 1.465 GB, free: 15.41 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.5703, allocations: 315 kB / 1.465 GB, free: 15.11 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0007422/0.5711, allocations: 0.6103 MB / 1.466 GB, free: 14.49 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002535/0.5736, allocations: 1.747 MB / 1.468 GB, free: 12.74 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5736, allocations: 0 / 1.468 GB, free: 12.74 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.553e-06/0.5736, allocations: 0 / 1.468 GB, free: 12.74 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 2.237e-05/0.5737, allocations: 0 / 1.468 GB, free: 12.74 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.002929/0.5766, allocations: 1.45 MB / 1.469 GB, free: 11.25 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.5766, allocations: 12.92 kB / 1.469 GB, free: 11.24 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.5779, allocations: 220 kB / 1.469 GB, free: 11.03 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.5794, allocations: 0.7212 MB / 1.47 GB, free: 10.28 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/0.5795, allocations: 66 kB / 1.47 GB, free: 10.21 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.5796, allocations: 96 kB / 1.47 GB, free: 10.12 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.5816, allocations: 0.9995 MB / 1.471 GB, free: 9.082 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.5816, allocations: 4 kB / 1.471 GB, free: 9.078 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-05/0.5817, allocations: 47.98 kB / 1.471 GB, free: 9.031 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.5818, allocations: 20 kB / 1.471 GB, free: 9.012 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.5839, allocations: 1.171 MB / 1.472 GB, free: 7.844 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005037/0.5889, allocations: 2.906 MB / 1.475 GB, free: 4.785 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.5914, allocations: 0.8514 MB / 1.476 GB, free: 3.922 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/0.592, allocations: 286.7 kB / 1.476 GB, free: 3.637 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.558e-05/0.5921, allocations: 32.61 kB / 1.476 GB, free: 3.605 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.5931, allocations: 0.497 MB / 1.477 GB, free: 3.094 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=82): time 2.325e-06/0.5931, allocations: 0 / 1.477 GB, free: 3.094 MB / 1.17 GB
Notification: Performance of matching and sorting (n=82): time 0.003561/0.5967, allocations: 1.158 MB / 1.478 GB, free: 1.926 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.5968, allocations: 196.5 kB / 1.478 GB, free: 1.691 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.5978, allocations: 0.6449 MB / 1.479 GB, free: 1.039 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 8.125e-05/0.5979, allocations: 45.7 kB / 1.479 GB, free: 0.9883 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.5983, allocations: 429 kB / 1.479 GB, free: 0.5625 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.5985, allocations: 277.6 kB / 1.48 GB, free: 296 kB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.5988, allocations: 170.6 kB / 1.48 GB, free: 120 kB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002788/0.5991, allocations: 382.8 kB / 1.48 GB, free: 15.73 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006999/0.5998, allocations: 277.8 kB / 1.48 GB, free: 15.46 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000791/0.6006, allocations: 375 kB / 1.481 GB, free: 15.08 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.6021, allocations: 0.6307 MB / 1.481 GB, free: 14.44 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6021, allocations: 0 / 1.481 GB, free: 14.44 MB / 1.186 GB
Notification: Performance of matching and sorting (n=98) (initialization): time 0.00236/0.6044, allocations: 0.8765 MB / 1.482 GB, free: 13.55 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.6045, allocations: 4 kB / 1.482 GB, free: 13.55 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6045, allocations: 4 kB / 1.482 GB, free: 13.54 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/0.6052, allocations: 84.86 kB / 1.482 GB, free: 13.46 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/0.6059, allocations: 167.7 kB / 1.482 GB, free: 13.29 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.6084, allocations: 1.519 MB / 1.484 GB, free: 11.65 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008519/0.6093, allocations: 104.5 kB / 1.484 GB, free: 11.55 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/0.6094, allocations: 39.97 kB / 1.484 GB, free: 11.51 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.0005065/0.6099, allocations: 271.4 kB / 1.484 GB, free: 11.24 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.61, allocations: 87.44 kB / 1.484 GB, free: 11.15 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/0.6132, allocations: 1.105 MB / 1.486 GB, free: 10.03 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6132, allocations: 8 kB / 1.486 GB, free: 10.02 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6132, allocations: 4 kB / 1.486 GB, free: 10.02 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.6132, allocations: 3.984 kB / 1.486 GB, free: 10.02 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.6174, allocations: 1.973 MB / 1.487 GB, free: 7.992 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.6174, allocations: 0 / 1.487 GB, free: 7.992 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/0.6181, allocations: 151.8 kB / 1.488 GB, free: 7.844 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/0.6185, allocations: 68.78 kB / 1.488 GB, free: 7.773 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.733e-05/0.6186, allocations: 31.91 kB / 1.488 GB, free: 7.742 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.6211, allocations: 1.555 MB / 1.489 GB, free: 6.062 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6211, allocations: 0 / 1.489 GB, free: 6.062 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.6236, allocations: 1.034 MB / 1.49 GB, free: 5.012 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005366/0.6241, allocations: 207 kB / 1.49 GB, free: 4.809 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.6243, allocations: 24 kB / 1.49 GB, free: 4.785 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/0.625, allocations: 61.97 kB / 1.491 GB, free: 4.727 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.6251, allocations: 72.84 kB / 1.491 GB, free: 4.652 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.518e-05/0.6252, allocations: 39.98 kB / 1.491 GB, free: 4.613 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006875/0.6259, allocations: 471 kB / 1.491 GB, free: 4.156 MB / 1.186 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.6259, allocations: 0 / 1.491 GB, free: 4.156 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.001065/0.627, allocations: 347 kB / 1.491 GB, free: 3.816 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.002128/0.6291, allocations: 0.6062 MB / 1.492 GB, free: 3.387 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.002011/0.6311, allocations: 0.8272 MB / 1.493 GB, free: 2.551 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.6311, allocations: 0 / 1.493 GB, free: 2.551 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001057/0.6322, allocations: 0.4965 MB / 1.493 GB, free: 2.043 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.6335, allocations: 308.2 kB / 1.494 GB, free: 1.766 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.6371, allocations: 1.747 MB / 1.495 GB, free: 15.98 MB / 1.201 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007985/0.6378, allocations: 1.042 MB / 1.496 GB, free: 14.91 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0009377/0.6388, allocations: 274.8 kB / 1.497 GB, free: 14.64 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.6391, allocations: 115.4 kB / 1.497 GB, free: 14.53 MB / 1.201 GB
Notification: Performance of SimCode: time 8.41e-07/0.6391, allocations: 0 / 1.497 GB, free: 14.53 MB / 1.201 GB
Notification: Performance of Templates: time 0.03221/0.6713, allocations: 16.28 MB / 1.513 GB, free: 14.42 MB / 1.217 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: 10.14668561797589]