Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001741/0.001741, 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.002112/0.002112, allocations: 190.5 kB / 22.11 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.423/1.423, 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.153/3.153, allocations: 495.8 MB / 0.783 GB, free: 33.59 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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle")
translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 70.91 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3593, allocations: 173.6 MB / 1.307 GB, free: 1.898 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006864/0.3661, allocations: 4.827 MB / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.208/0.5741, allocations: 149.6 MB / 1.457 GB, free: 6.906 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007617/0.5749, allocations: 27.81 kB / 1.458 GB, free: 6.879 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006464/0.5755, allocations: 198.2 kB / 1.458 GB, free: 6.684 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.001871/0.5774, allocations: 0.5436 MB / 1.458 GB, free: 6.141 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.5796, allocations: 0.8504 MB / 1.459 GB, free: 5.297 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001946/0.5816, allocations: 1.359 MB / 1.46 GB, free: 3.934 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007957/0.5824, allocations: 413.7 kB / 1.461 GB, free: 3.5 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007785/0.5831, allocations: 494.4 kB / 1.461 GB, free: 3.016 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.5838, allocations: 0.4939 MB / 1.462 GB, free: 2.52 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.00024/0.584, allocations: 116 kB / 1.462 GB, free: 2.406 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009334/0.585, allocations: 471.7 kB / 1.462 GB, free: 1.945 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003261/0.5853, allocations: 287.1 kB / 1.463 GB, free: 1.664 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005835/0.5859, allocations: 0.548 MB / 1.463 GB, free: 1.113 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.002212/0.5881, allocations: 1.607 MB / 1.465 GB, free: 15.5 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/0.5881, allocations: 4 kB / 1.465 GB, free: 15.5 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.573e-06/0.5881, allocations: 0 / 1.465 GB, free: 15.5 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.767e-05/0.5881, allocations: 0 / 1.465 GB, free: 15.5 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: 208
 * Number of variables: 208
Notification: Performance of Generate backend data structure: time 0.002786/0.5909, allocations: 1.371 MB / 1.466 GB, free: 14.1 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.5909, allocations: 15.97 kB / 1.466 GB, free: 14.08 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009637/0.5919, allocations: 184.1 kB / 1.466 GB, free: 13.9 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.5932, allocations: 0.6863 MB / 1.467 GB, free: 13.19 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.5933, allocations: 66 kB / 1.467 GB, free: 13.12 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.5934, allocations: 83.98 kB / 1.467 GB, free: 13.04 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.595, allocations: 0.9105 MB / 1.468 GB, free: 12.09 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.595, allocations: 0 / 1.468 GB, free: 12.09 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/0.5951, allocations: 36 kB / 1.468 GB, free: 12.05 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.5952, allocations: 20 kB / 1.468 GB, free: 12.04 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.5971, allocations: 1.097 MB / 1.469 GB, free: 10.94 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004217/0.6013, allocations: 2.642 MB / 1.472 GB, free: 8.168 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.6029, allocations: 0.7494 MB / 1.472 GB, free: 7.406 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.6035, allocations: 274.7 kB / 1.473 GB, free: 7.137 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.787e-05/0.6035, allocations: 28.62 kB / 1.473 GB, free: 7.109 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008991/0.6044, allocations: 0.4913 MB / 1.473 GB, free: 6.598 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=79): time 2.384e-06/0.6044, allocations: 3.938 kB / 1.473 GB, free: 6.594 MB / 1.17 GB
Notification: Performance of matching and sorting (n=79): time 0.003363/0.6078, allocations: 1.105 MB / 1.474 GB, free: 5.48 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.6079, allocations: 188.6 kB / 1.474 GB, free: 5.254 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008495/0.6088, allocations: 0.6253 MB / 1.475 GB, free: 4.621 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 7.108e-05/0.6088, allocations: 37.7 kB / 1.475 GB, free: 4.578 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003541/0.6092, allocations: 401 kB / 1.475 GB, free: 4.18 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.6094, allocations: 265.8 kB / 1.476 GB, free: 3.918 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.6097, allocations: 174.5 kB / 1.476 GB, free: 3.738 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002118/0.6099, allocations: 386.6 kB / 1.476 GB, free: 3.352 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005694/0.6105, allocations: 265.9 kB / 1.476 GB, free: 3.094 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.6112, allocations: 359.1 kB / 1.477 GB, free: 2.73 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.6124, allocations: 0.5994 MB / 1.477 GB, free: 2.117 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6124, allocations: 0 / 1.477 GB, free: 2.117 MB / 1.17 GB
Notification: Performance of matching and sorting (n=95) (initialization): time 0.002138/0.6146, allocations: 0.8415 MB / 1.478 GB, free: 1.266 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6146, allocations: 4 kB / 1.478 GB, free: 1.262 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.6146, allocations: 0 / 1.478 GB, free: 1.262 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/0.6152, allocations: 84.81 kB / 1.478 GB, free: 1.176 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/0.6159, allocations: 159.8 kB / 1.478 GB, free: 1.02 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.6183, allocations: 1.525 MB / 1.48 GB, free: 15.38 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000873/0.6192, allocations: 95.45 kB / 1.48 GB, free: 15.28 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/0.6193, allocations: 31.98 kB / 1.48 GB, free: 15.25 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 (93):
 * Single equations (assignments): 92
 * 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.0005088/0.6198, allocations: 275.4 kB / 1.48 GB, free: 14.97 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.62, allocations: 83.48 kB / 1.48 GB, free: 14.89 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/0.6226, allocations: 1.05 MB / 1.481 GB, free: 13.82 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.6226, allocations: 8 kB / 1.481 GB, free: 13.82 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.6226, allocations: 0 / 1.481 GB, free: 13.82 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.6226, allocations: 11.91 kB / 1.481 GB, free: 13.8 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/0.6262, allocations: 1.876 MB / 1.483 GB, free: 11.88 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.6262, allocations: 0 / 1.483 GB, free: 11.88 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/0.6269, allocations: 139.8 kB / 1.483 GB, free: 11.74 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/0.6273, allocations: 72.78 kB / 1.483 GB, free: 11.67 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/0.6274, allocations: 23.98 kB / 1.484 GB, free: 11.64 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.6296, allocations: 1.57 MB / 1.485 GB, free: 9.953 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6296, allocations: 0 / 1.485 GB, free: 9.953 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.6322, allocations: 0.9907 MB / 1.486 GB, free: 8.941 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000548/0.6327, allocations: 199.1 kB / 1.486 GB, free: 8.746 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.6328, allocations: 19.98 kB / 1.486 GB, free: 8.727 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007391/0.6336, allocations: 63.94 kB / 1.486 GB, free: 8.664 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.6338, allocations: 68.86 kB / 1.486 GB, free: 8.598 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.201e-05/0.6339, allocations: 43.91 kB / 1.486 GB, free: 8.555 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006967/0.6346, allocations: 447 kB / 1.487 GB, free: 8.121 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.6346, allocations: 4 kB / 1.487 GB, free: 8.117 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.001085/0.6356, allocations: 319.2 kB / 1.487 GB, free: 7.805 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 (90):
 * Single equations (assignments): 84
 * 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.001951/0.6376, allocations: 0.6044 MB / 1.488 GB, free: 7.375 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001977/0.6396, allocations: 0.7923 MB / 1.488 GB, free: 6.57 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6396, allocations: 0 / 1.488 GB, free: 6.57 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009824/0.6406, allocations: 492.2 kB / 1.489 GB, free: 6.078 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.6419, allocations: 323.7 kB / 1.489 GB, free: 5.789 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.6454, allocations: 1.633 MB / 1.491 GB, free: 4.125 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/0.6462, allocations: 1.012 MB / 1.492 GB, free: 3.086 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0009447/0.6472, allocations: 262.5 kB / 1.492 GB, free: 2.824 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.6475, allocations: 107.4 kB / 1.492 GB, free: 2.719 MB / 1.186 GB
Notification: Performance of SimCode: time 1.803e-06/0.6475, allocations: 0 / 1.492 GB, free: 2.719 MB / 1.186 GB
Notification: Performance of Templates: time 0.02883/0.6763, allocations: 15.62 MB / 1.507 GB, free: 3.27 MB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.896293538622558]