Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001345/0.001345, allocations: 198.9 kB / 16.26 MB, free: 6.625 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.713/2.713, allocations: 472.7 MB / 0.7449 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 69.03 kB / 0.9116 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2967, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006157/0.3029, allocations: 4.944 MB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1507/0.4537, allocations: 148.4 MB / 1.218 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.4548, allocations: 19.88 kB / 1.218 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007041/0.4556, allocations: 154.8 kB / 1.218 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.4576, allocations: 493.2 kB / 1.218 GB, free: 172 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.4596, allocations: 0.7592 MB / 1.219 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001385/0.461, allocations: 1.425 MB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008776/0.4619, allocations: 0.595 MB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006539/0.4626, allocations: 0.4983 MB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005376/0.4631, allocations: 0.5212 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.4633, allocations: 120 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007955/0.4641, allocations: 459.6 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.4644, allocations: 307 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004801/0.4649, allocations: 0.5791 MB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.4666, allocations: 1.624 MB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4666, allocations: 4 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4666, allocations: 0 / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.4666, allocations: 0 / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002518/0.4692, allocations: 1.464 MB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4692, allocations: 11.97 kB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008917/0.4701, allocations: 187.4 kB / 1.226 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.4711, allocations: 0.7507 MB / 1.227 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.4712, allocations: 73.98 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.4713, allocations: 80 kB / 1.227 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.4729, allocations: 0.9456 MB / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.4729, allocations: 4 kB / 1.228 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-05/0.473, allocations: 36 kB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.473, allocations: 23.98 kB / 1.228 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.4748, allocations: 1.128 MB / 1.229 GB, free: 4.426 MB / 0.9825 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.004266/0.479, allocations: 2.762 MB / 1.232 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.4806, allocations: 0.9081 MB / 1.233 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/0.4812, allocations: 324.8 kB / 1.233 GB, free: 300 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.434e-05/0.4813, allocations: 28.69 kB / 1.233 GB, free: 268 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009829/0.4823, allocations: 0.5198 MB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 2.896e-06/0.4823, allocations: 3.938 kB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.003367/0.4856, allocations: 1.259 MB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.4858, allocations: 192.9 kB / 1.235 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008706/0.4867, allocations: 0.641 MB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.741e-05/0.4868, allocations: 45.7 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/0.4872, allocations: 400.4 kB / 1.236 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.4874, allocations: 272 kB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.4877, allocations: 178.5 kB / 1.237 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4879, allocations: 382.8 kB / 1.237 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.4885, allocations: 289.7 kB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/0.4891, allocations: 380 kB / 1.238 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.4903, allocations: 0.6368 MB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4903, allocations: 3.984 kB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002112/0.4924, allocations: 0.88 MB / 1.239 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.4925, allocations: 13.97 kB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4925, allocations: 0 / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/0.4931, allocations: 80.91 kB / 1.239 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.4938, allocations: 183.8 kB / 1.24 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.4961, allocations: 1.627 MB / 1.241 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008978/0.497, allocations: 99.22 kB / 1.241 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-05/0.4971, allocations: 39.97 kB / 1.241 GB, free: 7.875 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (101): * Single equations (assignments): 100 * 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.0004961/0.4976, allocations: 281.4 kB / 1.242 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.4978, allocations: 82.97 kB / 1.242 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.5004, allocations: 1.148 MB / 1.243 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.5005, allocations: 8 kB / 1.243 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5005, allocations: 0 / 1.243 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.5005, allocations: 7.984 kB / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/0.5039, allocations: 2.017 MB / 1.245 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.504, allocations: 0 / 1.245 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.5046, allocations: 159.8 kB / 1.245 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/0.5051, allocations: 72.8 kB / 1.245 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.5052, allocations: 27.97 kB / 1.245 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.5071, allocations: 1.666 MB / 1.247 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5071, allocations: 0 / 1.247 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.5093, allocations: 1.055 MB / 1.248 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/0.5098, allocations: 275.7 kB / 1.248 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.5099, allocations: 27.98 kB / 1.248 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007039/0.5106, allocations: 63.84 kB / 1.248 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.5108, allocations: 84.81 kB / 1.248 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.711e-05/0.5109, allocations: 43.98 kB / 1.248 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005803/0.5115, allocations: 463 kB / 1.249 GB, free: 168 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5115, allocations: 0 / 1.249 GB, free: 168 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.5654/1.077, allocations: 330.8 kB / 1.249 GB, free: 183.2 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 (100): * Single equations (assignments): 93 * 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.001585/1.079, allocations: 0.5977 MB / 1.249 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00287/1.081, allocations: 1.096 MB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.081, allocations: 1 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009724/1.082, allocations: 0.5432 MB / 1.251 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/1.084, allocations: 302.6 kB / 1.251 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/1.087, allocations: 2.14 MB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/1.087, allocations: 1.041 MB / 1.254 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008603/1.088, allocations: 264.5 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/1.088, allocations: 110.8 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of SimCode: time 1.773e-06/1.089, allocations: 0 / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of Templates: time 0.02602/1.115, allocations: 15.5 MB / 1.27 GB, free: 179 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches