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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.008784/0.008784, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.002084/0.002084, allocations: 191.8 kB / 16.79 MB, free: 5.809 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.862/2.862, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.62 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3472, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007504/0.3548, allocations: 5.012 MB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.5223, allocations: 148.4 MB / 1.203 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.5235, allocations: 15.94 kB / 1.203 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009732/0.5245, allocations: 158.8 kB / 1.203 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.5271, allocations: 472.8 kB / 1.203 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.5295, allocations: 0.7765 MB / 1.204 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001955/0.5315, allocations: 1.37 MB / 1.205 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.5327, allocations: 0.5786 MB / 1.206 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009164/0.5336, allocations: 454.1 kB / 1.206 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009204/0.5346, allocations: 0.5016 MB / 1.207 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003152/0.5349, allocations: 60 kB / 1.207 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.5361, allocations: 423.6 kB / 1.207 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000423/0.5365, allocations: 255 kB / 1.207 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008414/0.5374, allocations: 0.5321 MB / 1.208 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.5391, allocations: 1.259 MB / 1.209 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5391, allocations: 4 kB / 1.209 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5391, allocations: 0 / 1.209 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.875e-05/0.5392, allocations: 0 / 1.209 GB, free: 7.398 MB / 0.9669 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.004032/0.5433, allocations: 1.491 MB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.5433, allocations: 15.97 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.5444, allocations: 191.3 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.5459, allocations: 0.774 MB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-05/0.546, allocations: 66 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.5462, allocations: 84 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.5482, allocations: 0.9769 MB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.5483, allocations: 0 / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.5484, allocations: 44 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.5484, allocations: 23.94 kB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.5504, allocations: 1.159 MB / 1.214 GB, free: 2.441 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00506/0.5555, allocations: 2.919 MB / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.5577, allocations: 0.9771 MB / 1.218 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.5583, allocations: 330.7 kB / 1.218 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.547e-05/0.5584, allocations: 36.67 kB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.5595, allocations: 0.5292 MB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.585e-06/0.5595, allocations: 3.938 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003462/0.563, allocations: 1.294 MB / 1.22 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.5631, allocations: 196.9 kB / 1.22 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009214/0.564, allocations: 0.6567 MB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.68e-05/0.5641, allocations: 41.7 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.5645, allocations: 408.4 kB / 1.221 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.5648, allocations: 280 kB / 1.221 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.5651, allocations: 182.5 kB / 1.222 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.5653, allocations: 386.8 kB / 1.222 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.5659, allocations: 293.8 kB / 1.222 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007082/0.5666, allocations: 391.1 kB / 1.223 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.5678, allocations: 0.6554 MB / 1.223 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5678, allocations: 0 / 1.223 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002197/0.57, allocations: 0.9151 MB / 1.224 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.5701, allocations: 4 kB / 1.224 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5701, allocations: 0 / 1.224 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/0.5707, allocations: 92.77 kB / 1.224 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/0.5715, allocations: 167.8 kB / 1.224 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.5737, allocations: 1.533 MB / 1.226 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009315/0.5746, allocations: 100.9 kB / 1.226 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.973e-05/0.5747, allocations: 39.97 kB / 1.226 GB, free: 5.633 MB / 0.9825 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.0004824/0.5752, allocations: 284.9 kB / 1.226 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.5755, allocations: 86.88 kB / 1.226 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.5782, allocations: 1.195 MB / 1.228 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.5782, allocations: 11.94 kB / 1.228 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5782, allocations: 11.94 kB / 1.228 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.5783, allocations: 3.984 kB / 1.228 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/0.582, allocations: 2.09 MB / 1.23 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5821, allocations: 0 / 1.23 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/0.5827, allocations: 167.7 kB / 1.23 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005253/0.5833, allocations: 84.78 kB / 1.23 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.617e-05/0.5834, allocations: 27.97 kB / 1.23 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.5852, allocations: 1.548 MB / 1.231 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5852, allocations: 0 / 1.231 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.5875, allocations: 1.093 MB / 1.232 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005009/0.588, allocations: 283.7 kB / 1.233 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.5882, allocations: 20 kB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/0.5891, allocations: 79.91 kB / 1.233 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.5893, allocations: 88.86 kB / 1.233 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/0.5894, allocations: 35.98 kB / 1.233 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007463/0.5902, allocations: 471 kB / 1.233 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5902, allocations: 0 / 1.233 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001114/0.5913, allocations: 347.2 kB / 1.234 GB, free: 13.48 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.001615/0.5929, allocations: 0.6262 MB / 1.234 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.5949, allocations: 0.8898 MB / 1.235 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5949, allocations: 0 / 1.235 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.596, allocations: 0.5668 MB / 1.236 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.5974, allocations: 283 kB / 1.236 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.6012, allocations: 2.239 MB / 1.238 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007546/0.602, allocations: 1.044 MB / 1.239 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.6024, allocations: 127.4 kB / 1.239 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of SimCode: time 7.62e-07/0.6025, allocations: 0 / 1.239 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of Templates: time 0.6075/1.21, allocations: 19.52 MB / 1.258 GB, free: 187 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/jenkins1/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