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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 191.3 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 482.3 MB / 0.7542 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 65.36 kB / 0.9232 GB, free: 29.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.347, allocations: 162.2 MB / 1.082 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007085/0.3542, allocations: 5.007 MB / 1.086 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1832/0.5374, allocations: 148.5 MB / 1.232 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00089/0.5383, allocations: 19.94 kB / 1.232 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.5389, allocations: 158.8 kB / 1.232 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.5408, allocations: 0.4916 MB / 1.232 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.5428, allocations: 0.7819 MB / 1.233 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.5447, allocations: 1.464 MB / 1.234 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009222/0.5456, allocations: 0.6023 MB / 1.235 GB, free: 132 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007078/0.5463, allocations: 0.5101 MB / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006307/0.547, allocations: 0.5485 MB / 1.236 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.5471, allocations: 123.9 kB / 1.236 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009307/0.5481, allocations: 491.5 kB / 1.237 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.5484, allocations: 307 kB / 1.237 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000591/0.549, allocations: 0.5946 MB / 1.237 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.5509, allocations: 1.682 MB / 1.239 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.551, allocations: 0 / 1.239 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.551, allocations: 0 / 1.239 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.551, allocations: 0 / 1.239 GB, free: 11.88 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002899/0.5539, allocations: 1.499 MB / 1.241 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5539, allocations: 8.031 kB / 1.241 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009276/0.5549, allocations: 187.4 kB / 1.241 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.556, allocations: 0.7662 MB / 1.242 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.5561, allocations: 66 kB / 1.242 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.5562, allocations: 92 kB / 1.242 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.5581, allocations: 0.9769 MB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.5581, allocations: 3.938 kB / 1.243 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.806e-05/0.5582, allocations: 40 kB / 1.243 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.5583, allocations: 24 kB / 1.243 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.5603, allocations: 1.159 MB / 1.244 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005096/0.5654, allocations: 2.953 MB / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.5677, allocations: 0.9732 MB / 1.248 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/0.5683, allocations: 329.3 kB / 1.248 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.267e-05/0.5684, allocations: 36.67 kB / 1.248 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.5694, allocations: 0.5451 MB / 1.249 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=88): time 4.739e-06/0.5695, allocations: 0 / 1.249 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88): time 0.003654/0.5731, allocations: 1.298 MB / 1.25 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/0.5733, allocations: 196.9 kB / 1.25 GB, free: 368 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5074/1.081, allocations: 0.6442 MB / 1.251 GB, free: 174 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002469/1.081, allocations: 44.95 kB / 1.251 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/1.081, allocations: 407.3 kB / 1.251 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/1.082, allocations: 286.2 kB / 1.251 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/1.082, allocations: 181.4 kB / 1.251 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.082, allocations: 390.8 kB / 1.252 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/1.083, allocations: 290.6 kB / 1.252 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008042/1.084, allocations: 391.7 kB / 1.253 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/1.085, allocations: 0.6533 MB / 1.253 GB, free: 173 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.085, allocations: 0.6562 kB / 1.253 GB, free: 173 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002625/1.088, allocations: 0.9135 MB / 1.254 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/1.088, allocations: 7.438 kB / 1.254 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.088, allocations: 2.078 kB / 1.254 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007166/1.089, allocations: 86.59 kB / 1.254 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/1.089, allocations: 176.7 kB / 1.254 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/1.091, allocations: 1.637 MB / 1.256 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/1.093, allocations: 110.8 kB / 1.256 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.093, allocations: 40.67 kB / 1.256 GB, free: 171.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0006925/1.093, allocations: 271.3 kB / 1.256 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/1.094, allocations: 85.27 kB / 1.256 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/1.097, allocations: 1.201 MB / 1.258 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.097, allocations: 10.56 kB / 1.258 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.097, allocations: 0.8438 kB / 1.258 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/1.097, allocations: 5.578 kB / 1.258 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004071/1.101, allocations: 2.09 MB / 1.26 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.101, allocations: 0 / 1.26 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006704/1.101, allocations: 165.9 kB / 1.26 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/1.102, allocations: 76.48 kB / 1.26 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/1.102, allocations: 28.86 kB / 1.26 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/1.104, allocations: 1.666 MB / 1.261 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.104, allocations: 0 / 1.261 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/1.106, allocations: 1.087 MB / 1.263 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/1.107, allocations: 295.3 kB / 1.263 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/1.107, allocations: 28.31 kB / 1.263 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007676/1.108, allocations: 73.89 kB / 1.263 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/1.108, allocations: 86.61 kB / 1.263 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.058e-05/1.108, allocations: 40.5 kB / 1.263 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006926/1.109, allocations: 468.2 kB / 1.264 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.109, allocations: 2.062 kB / 1.264 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001235/1.11, allocations: 348.8 kB / 1.264 GB, free: 166.8 MB / 0.9981 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.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 (106): * Single equations (assignments): 99 * 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.002069/1.112, allocations: 0.6273 MB / 1.264 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003064/1.115, allocations: 1.127 MB / 1.266 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.115, allocations: 0.8438 kB / 1.266 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.116, allocations: 0.5735 MB / 1.266 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.118, allocations: 303.2 kB / 1.266 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/1.121, allocations: 2.206 MB / 1.269 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/1.122, allocations: 1.047 MB / 1.27 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009926/1.123, allocations: 268 kB / 1.27 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/1.123, allocations: 121.9 kB / 1.27 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of SimCode: time 3.627e-06/1.123, allocations: 0 / 1.27 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03133/1.154, allocations: 16.02 MB / 1.286 GB, free: 159.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) 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) Reference file matches