Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001322, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007504/0.007504, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.547/1.547, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.014/3.014, allocations: 462.7 MB / 0.7364 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 8.531 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3542, allocations: 159.6 MB / 1.059 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005406/0.3597, allocations: 4.502 MB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1644/0.5241, allocations: 146.7 MB / 1.206 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.5253, allocations: 15.88 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008689/0.5262, allocations: 150.8 kB / 1.207 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.5284, allocations: 485.5 kB / 1.207 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.5306, allocations: 0.7369 MB / 1.208 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002035/0.5327, allocations: 1.327 MB / 1.209 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.5338, allocations: 0.5555 MB / 1.21 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007911/0.5346, allocations: 374.3 kB / 1.21 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006695/0.5353, allocations: 413.8 kB / 1.21 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.931e-05/0.5354, allocations: 28 kB / 1.21 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008364/0.5363, allocations: 367.6 kB / 1.211 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.5365, allocations: 183.1 kB / 1.211 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.5369, allocations: 490.8 kB / 1.211 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.5384, allocations: 1.518 MB / 1.213 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5384, allocations: 0 / 1.213 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5384, allocations: 3.938 kB / 1.213 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.391e-05/0.5385, allocations: 0 / 1.213 GB, free: 7.086 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002314/0.5408, allocations: 1.249 MB / 1.214 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5408, allocations: 8.031 kB / 1.214 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009071/0.5417, allocations: 199.4 kB / 1.214 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.5428, allocations: 0.7545 MB / 1.215 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.5428, allocations: 69.98 kB / 1.215 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.543, allocations: 84 kB / 1.215 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5445, allocations: 0.9495 MB / 1.216 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.5445, allocations: 0 / 1.216 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/0.5446, allocations: 32 kB / 1.216 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.5446, allocations: 20 kB / 1.216 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.5464, allocations: 1.139 MB / 1.217 GB, free: 2.457 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.004178/0.5506, allocations: 2.788 MB / 1.22 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.5521, allocations: 0.9081 MB / 1.221 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.5526, allocations: 318.7 kB / 1.221 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-05/0.5527, allocations: 28.61 kB / 1.221 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009192/0.5537, allocations: 0.5198 MB / 1.222 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.274e-06/0.5537, allocations: 0 / 1.222 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003256/0.5569, allocations: 1.274 MB / 1.223 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.5571, allocations: 196.9 kB / 1.223 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008937/0.558, allocations: 0.6448 MB / 1.224 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.518e-05/0.5581, allocations: 41.7 kB / 1.224 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.5584, allocations: 400.4 kB / 1.224 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.5587, allocations: 268.2 kB / 1.224 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.5588, allocations: 69.69 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.559, allocations: 390.7 kB / 1.225 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/0.5596, allocations: 277.9 kB / 1.225 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.5602, allocations: 383.1 kB / 1.225 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.5614, allocations: 0.632 MB / 1.226 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.5614, allocations: 0 / 1.226 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002092/0.5635, allocations: 0.8916 MB / 1.227 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.5636, allocations: 4 kB / 1.227 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.5636, allocations: 7.938 kB / 1.227 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006448/0.5643, allocations: 80.88 kB / 1.227 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.565, allocations: 171.8 kB / 1.227 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.5671, allocations: 1.542 MB / 1.229 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009057/0.568, allocations: 118.2 kB / 1.229 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.5681, allocations: 35.97 kB / 1.229 GB, free: 6.074 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: 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 (99): * Single equations (assignments): 98 * 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.0005818/0.5687, allocations: 277.2 kB / 1.229 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.5689, allocations: 82.97 kB / 1.229 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.5715, allocations: 1.144 MB / 1.23 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5715, allocations: 12 kB / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.5715, allocations: 0 / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.5715, allocations: 7.922 kB / 1.23 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.5749, allocations: 2.016 MB / 1.232 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.575, allocations: 3.984 kB / 1.232 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/0.5756, allocations: 159.8 kB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005185/0.5761, allocations: 92.7 kB / 1.233 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.5762, allocations: 23.98 kB / 1.233 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.5781, allocations: 1.544 MB / 1.234 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5781, allocations: 0 / 1.234 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.5801, allocations: 1.055 MB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.5806, allocations: 295.6 kB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.5807, allocations: 23.92 kB / 1.235 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007281/0.5814, allocations: 87.92 kB / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.5816, allocations: 72.89 kB / 1.236 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-05/0.5817, allocations: 43.97 kB / 1.236 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005885/0.5823, allocations: 463 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5823, allocations: 4 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009388/0.5832, allocations: 339.1 kB / 1.236 GB, free: 14.11 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 (99): * Single equations (assignments): 92 * 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.00141/0.5846, allocations: 0.6095 MB / 1.237 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.5864, allocations: 0.8625 MB / 1.238 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5864, allocations: 3.938 kB / 1.238 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.5874, allocations: 0.5473 MB / 1.238 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.5887, allocations: 272.9 kB / 1.239 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.5922, allocations: 2.155 MB / 1.241 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.5928, allocations: 1.036 MB / 1.242 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009977/0.5938, allocations: 258.9 kB / 1.242 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.5941, allocations: 107.4 kB / 1.242 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of SimCode: time 8.21e-07/0.5941, allocations: 4 kB / 1.242 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of Templates: time 0.5895/1.184, allocations: 14.83 MB / 1.257 GB, free: 188.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches