Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.001797/0.001797, 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.002314/0.002314, allocations: 191.7 kB / 22.11 MB, free: 5.156 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.48/1.48, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.294/3.294, allocations: 495.8 MB / 0.783 GB, free: 33.52 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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle")
translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 64.78 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4549, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.008412/0.4633, allocations: 5.02 MB / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.2088/0.6722, allocations: 149.8 MB / 1.458 GB, free: 6.469 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.6732, allocations: 19.88 kB / 1.458 GB, free: 6.449 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.6739, allocations: 202.1 kB / 1.458 GB, free: 6.25 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002029/0.6759, allocations: 0.5782 MB / 1.459 GB, free: 5.672 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.6784, allocations: 0.8783 MB / 1.46 GB, free: 4.801 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.002199/0.6806, allocations: 1.456 MB / 1.461 GB, free: 3.34 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008161/0.6814, allocations: 418 kB / 1.461 GB, free: 2.902 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009697/0.6823, allocations: 0.5294 MB / 1.462 GB, free: 2.371 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/0.6831, allocations: 0.5445 MB / 1.462 GB, free: 1.824 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.6832, allocations: 120 kB / 1.463 GB, free: 1.707 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.6843, allocations: 475.7 kB / 1.463 GB, free: 1.242 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003633/0.6847, allocations: 307 kB / 1.463 GB, free: 0.9414 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006119/0.6853, allocations: 0.5907 MB / 1.464 GB, free: 356 kB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.002662/0.688, allocations: 1.677 MB / 1.465 GB, free: 14.66 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.688, allocations: 3.984 kB / 1.465 GB, free: 14.66 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.703e-06/0.688, allocations: 0 / 1.465 GB, free: 14.66 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 2.289e-05/0.688, allocations: 0 / 1.465 GB, free: 14.66 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: 223
 * Number of variables: 223
Notification: Performance of Generate backend data structure: time 0.003048/0.6911, allocations: 1.444 MB / 1.467 GB, free: 13.19 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.6911, allocations: 8.922 kB / 1.467 GB, free: 13.18 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009951/0.6921, allocations: 196 kB / 1.467 GB, free: 12.99 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.6934, allocations: 0.7143 MB / 1.468 GB, free: 12.25 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-05/0.6935, allocations: 73.98 kB / 1.468 GB, free: 12.17 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.6936, allocations: 87.94 kB / 1.468 GB, free: 12.09 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.6954, allocations: 0.9574 MB / 1.469 GB, free: 11.09 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.6954, allocations: 4 kB / 1.469 GB, free: 11.09 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.771e-05/0.6955, allocations: 39.98 kB / 1.469 GB, free: 11.05 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.6955, allocations: 20 kB / 1.469 GB, free: 11.03 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.6975, allocations: 1.155 MB / 1.47 GB, free: 9.871 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004716/0.7022, allocations: 2.838 MB / 1.473 GB, free: 6.906 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.7039, allocations: 0.8007 MB / 1.474 GB, free: 6.098 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/0.7045, allocations: 294.7 kB / 1.474 GB, free: 5.805 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.729e-05/0.7046, allocations: 32.69 kB / 1.474 GB, free: 5.773 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.7056, allocations: 0.537 MB / 1.474 GB, free: 5.219 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=88): time 2.425e-06/0.7056, allocations: 0 / 1.474 GB, free: 5.219 MB / 1.17 GB
Notification: Performance of matching and sorting (n=88): time 0.003681/0.7093, allocations: 1.223 MB / 1.476 GB, free: 3.988 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.7094, allocations: 208.8 kB / 1.476 GB, free: 3.742 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000972/0.7104, allocations: 0.6567 MB / 1.476 GB, free: 3.074 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 9.026e-05/0.7105, allocations: 41.7 kB / 1.477 GB, free: 3.027 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.7109, allocations: 409.2 kB / 1.477 GB, free: 2.621 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.7112, allocations: 301.4 kB / 1.477 GB, free: 2.324 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.7115, allocations: 178.6 kB / 1.477 GB, free: 2.141 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001998/0.7117, allocations: 394.7 kB / 1.478 GB, free: 1.746 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005988/0.7123, allocations: 293.8 kB / 1.478 GB, free: 1.461 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007076/0.713, allocations: 391.2 kB / 1.478 GB, free: 1.066 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.7143, allocations: 0.6633 MB / 1.479 GB, free: 400 kB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.7143, allocations: 0 / 1.479 GB, free: 400 kB / 1.17 GB
Notification: Performance of matching and sorting (n=107) (initialization): time 0.002361/0.7166, allocations: 0.9233 MB / 1.48 GB, free: 15.46 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.7167, allocations: 7.938 kB / 1.48 GB, free: 15.45 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.7167, allocations: 0 / 1.48 GB, free: 15.45 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/0.7173, allocations: 80.84 kB / 1.48 GB, free: 15.37 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.7181, allocations: 183.7 kB / 1.48 GB, free: 15.19 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.7204, allocations: 1.515 MB / 1.482 GB, free: 13.55 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.7212, allocations: 100.4 kB / 1.482 GB, free: 13.45 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.509e-05/0.7213, allocations: 47.97 kB / 1.482 GB, free: 13.41 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: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (105):
 * Single equations (assignments): 104
 * 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.0005661/0.7219, allocations: 283.7 kB / 1.482 GB, free: 13.12 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.7221, allocations: 91.44 kB / 1.482 GB, free: 13.03 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/0.7249, allocations: 1.16 MB / 1.483 GB, free: 11.86 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.7249, allocations: 12 kB / 1.483 GB, free: 11.84 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7249, allocations: 4 kB / 1.483 GB, free: 11.84 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.7249, allocations: 7.984 kB / 1.483 GB, free: 11.83 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.7263, allocations: 0.9066 MB / 1.484 GB, free: 10.88 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.7263, allocations: 0 / 1.484 GB, free: 10.88 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.7269, allocations: 151.8 kB / 1.484 GB, free: 10.73 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004748/0.7274, allocations: 72.78 kB / 1.484 GB, free: 10.66 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.7275, allocations: 27.92 kB / 1.484 GB, free: 10.63 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.7295, allocations: 1.562 MB / 1.486 GB, free: 8.945 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7295, allocations: 8 kB / 1.486 GB, free: 8.938 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.7318, allocations: 0.9986 MB / 1.487 GB, free: 7.914 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/0.7323, allocations: 207 kB / 1.487 GB, free: 7.711 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.7324, allocations: 27.94 kB / 1.487 GB, free: 7.684 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/0.7331, allocations: 67.88 kB / 1.487 GB, free: 7.617 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.7333, allocations: 84.78 kB / 1.487 GB, free: 7.535 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-05/0.7334, allocations: 39.97 kB / 1.487 GB, free: 7.496 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006958/0.7341, allocations: 483 kB / 1.488 GB, free: 7.027 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.7341, allocations: 0 / 1.488 GB, free: 7.027 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0009669/0.7351, allocations: 339.2 kB / 1.488 GB, free: 6.695 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of discrete states: 6 (decAng.tNext,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 (100):
 * Single equations (assignments): 93
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 6
 * 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.002013/0.7371, allocations: 0.6079 MB / 1.489 GB, free: 6.262 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.002036/0.7391, allocations: 0.8546 MB / 1.49 GB, free: 5.395 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7391, allocations: 0 / 1.49 GB, free: 5.395 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001052/0.7402, allocations: 0.5237 MB / 1.49 GB, free: 4.863 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.7415, allocations: 314.3 kB / 1.49 GB, free: 4.578 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.745, allocations: 1.765 MB / 1.492 GB, free: 2.789 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/0.7457, allocations: 1.041 MB / 1.493 GB, free: 1.719 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0009064/0.7466, allocations: 267.1 kB / 1.493 GB, free: 1.453 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.747, allocations: 115.4 kB / 1.494 GB, free: 1.34 MB / 1.186 GB
Notification: Performance of SimCode: time 1.102e-06/0.747, allocations: 0 / 1.494 GB, free: 1.34 MB / 1.186 GB
Notification: Performance of Templates: time 0.03191/0.7789, allocations: 16.67 MB / 1.51 GB, free: 0.8398 MB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.328568500466645]