Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008015/0.0008015, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007733/0.0007733, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8795/0.8795, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.73/1.73, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 3.938 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.655e-05/3.899e-05, allocations: 5.516 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005685/0.005724, allocations: 4.553 MB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6283/0.634, allocations: 132.9 MB / 1.135 GB, free: 14.82 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007655/0.6348, allocations: 22.97 kB / 1.135 GB, free: 14.8 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.6353, allocations: 206.6 kB / 1.135 GB, free: 14.66 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.6369, allocations: 0.5889 MB / 1.136 GB, free: 14.32 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.6388, allocations: 0.9306 MB / 1.137 GB, free: 13.83 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001821/0.6406, allocations: 1.553 MB / 1.138 GB, free: 13.02 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006824/0.6413, allocations: 422.3 kB / 1.139 GB, free: 12.78 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.6424, allocations: 0.795 MB / 1.139 GB, free: 12.41 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005419/0.643, allocations: 447.5 kB / 1.14 GB, free: 12.24 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.6431, allocations: 129.2 kB / 1.14 GB, free: 12.24 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.6441, allocations: 0.5212 MB / 1.141 GB, free: 12.12 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.6444, allocations: 337.8 kB / 1.141 GB, free: 11.9 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.6448, allocations: 417.5 kB / 1.141 GB, free: 11.7 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00242/0.6472, allocations: 1.917 MB / 1.143 GB, free: 10.9 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.6472, allocations: 4 kB / 1.143 GB, free: 10.89 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.484e-06/0.6472, allocations: 1.25 kB / 1.143 GB, free: 10.89 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.208e-05/0.6472, allocations: 0 / 1.143 GB, free: 10.89 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002422/0.6497, allocations: 1.509 MB / 1.145 GB, free: 9.914 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.6497, allocations: 10.75 kB / 1.145 GB, free: 9.914 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.6509, allocations: 264.5 kB / 1.145 GB, free: 9.844 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.6522, allocations: 0.745 MB / 1.146 GB, free: 9.383 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/0.6522, allocations: 78.78 kB / 1.146 GB, free: 9.348 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.6523, allocations: 100.4 kB / 1.146 GB, free: 9.312 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.654, allocations: 1.251 MB / 1.147 GB, free: 8.551 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.654, allocations: 1.094 kB / 1.147 GB, free: 8.551 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.072e-05/0.6541, allocations: 42.17 kB / 1.147 GB, free: 8.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.6541, allocations: 23.12 kB / 1.147 GB, free: 8.52 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.6556, allocations: 1.116 MB / 1.148 GB, free: 8.25 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003628/0.6592, allocations: 2.349 MB / 1.15 GB, free: 6.895 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.6608, allocations: 0.9122 MB / 1.151 GB, free: 6.559 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/0.6613, allocations: 326.2 kB / 1.152 GB, free: 6.438 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.347e-05/0.6614, allocations: 31.03 kB / 1.152 GB, free: 6.43 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009192/0.6623, allocations: 0.6588 MB / 1.152 GB, free: 6.074 MB / 1.01 GB Notification: Performance of pre-optimization done (n=98): time 4.358e-06/0.6623, allocations: 5.312 kB / 1.152 GB, free: 6.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=98): time 0.002362/0.6646, allocations: 1.273 MB / 1.154 GB, free: 5.621 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.6647, allocations: 210.6 kB / 1.154 GB, free: 5.387 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000771/0.6655, allocations: 0.6243 MB / 1.154 GB, free: 5.109 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.231e-05/0.6656, allocations: 51.33 kB / 1.154 GB, free: 5.062 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.6659, allocations: 416.5 kB / 1.155 GB, free: 4.738 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.6661, allocations: 325.8 kB / 1.155 GB, free: 4.48 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.6664, allocations: 200.7 kB / 1.155 GB, free: 4.391 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6665, allocations: 392 kB / 1.156 GB, free: 4.043 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/0.667, allocations: 321.5 kB / 1.156 GB, free: 3.934 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/0.6676, allocations: 0.5503 MB / 1.157 GB, free: 3.586 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009287/0.6685, allocations: 0.705 MB / 1.157 GB, free: 3.266 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.6685, allocations: 1.219 kB / 1.157 GB, free: 3.266 MB / 1.01 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001585/0.6701, allocations: 1.004 MB / 1.158 GB, free: 2.867 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.6701, allocations: 8.109 kB / 1.158 GB, free: 2.867 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.6701, allocations: 1.438 kB / 1.158 GB, free: 2.867 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.6705, allocations: 83.27 kB / 1.158 GB, free: 2.852 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.6709, allocations: 188.3 kB / 1.158 GB, free: 2.832 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.6724, allocations: 1.51 MB / 1.16 GB, free: 1.453 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000576/0.673, allocations: 106 kB / 1.16 GB, free: 1.402 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/0.673, allocations: 44.2 kB / 1.16 GB, free: 1.395 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.k,$PRE.decAng.k,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 (120): * Single equations (assignments): 119 * 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.0005164/0.6736, allocations: 289.8 kB / 1.16 GB, free: 1.18 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.6737, allocations: 93.47 kB / 1.16 GB, free: 1.129 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.6755, allocations: 1.216 MB / 1.162 GB, free: 0.6602 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.6755, allocations: 11.53 kB / 1.162 GB, free: 0.6602 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6755, allocations: 1.844 kB / 1.162 GB, free: 0.6602 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.6755, allocations: 5.625 kB / 1.162 GB, free: 0.6602 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/0.6784, allocations: 2.098 MB / 1.164 GB, free: 15.64 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.6784, allocations: 0 / 1.164 GB, free: 15.64 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.6788, allocations: 169.8 kB / 1.164 GB, free: 15.62 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002433/0.679, allocations: 73.8 kB / 1.164 GB, free: 15.61 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/0.6791, allocations: 31.17 kB / 1.164 GB, free: 15.59 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.6804, allocations: 1.531 MB / 1.165 GB, free: 14.21 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6804, allocations: 3.938 kB / 1.165 GB, free: 14.2 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.6821, allocations: 1.131 MB / 1.167 GB, free: 13.71 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004265/0.6825, allocations: 215.7 kB / 1.167 GB, free: 13.59 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.6826, allocations: 29.25 kB / 1.167 GB, free: 13.57 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.683, allocations: 70.58 kB / 1.167 GB, free: 13.55 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.6832, allocations: 92.19 kB / 1.167 GB, free: 13.54 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/0.6832, allocations: 41.62 kB / 1.167 GB, free: 13.53 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005129/0.6838, allocations: 448.8 kB / 1.167 GB, free: 13.33 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6838, allocations: 0 / 1.167 GB, free: 13.33 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.00106/0.6848, allocations: 375 kB / 1.168 GB, free: 13.23 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001215/0.686, allocations: 0.6874 MB / 1.168 GB, free: 12.95 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.6876, allocations: 0.9187 MB / 1.169 GB, free: 12.58 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6876, allocations: 1.062 kB / 1.169 GB, free: 12.58 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.000693/0.6883, allocations: 0.5446 MB / 1.17 GB, free: 12.33 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009325/0.6892, allocations: 295.8 kB / 1.17 GB, free: 12.23 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.692, allocations: 1.849 MB / 1.172 GB, free: 11.27 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.6925, allocations: 472.8 kB / 1.172 GB, free: 11.13 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.6929, allocations: 136.9 kB / 1.173 GB, free: 11.11 MB / 1.026 GB Notification: Performance of SimCode: time 1.382e-06/0.6929, allocations: 0 / 1.173 GB, free: 11.11 MB / 1.026 GB Notification: Performance of Templates: time 0.02729/0.7201, allocations: 20.51 MB / 1.193 GB, free: 3.609 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,solAzi.solAzi Variables in the result:solAzi.solAzi,time [Calling sys.exit(0), Time elapsed: 8.861607133410871]