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 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.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.001114/0.001114, allocations: 97.64 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.009558/0.009558, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.674/2.674, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 8.844 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3034, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005386/0.3089, allocations: 4.533 MB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1685/0.4774, allocations: 146.7 MB / 1.206 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.4785, allocations: 15.88 kB / 1.206 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.4793, allocations: 146.8 kB / 1.207 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.4812, allocations: 485.4 kB / 1.207 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.4833, allocations: 0.743 MB / 1.208 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.485, allocations: 1.331 MB / 1.209 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009007/0.4859, allocations: 0.5557 MB / 1.21 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.4866, allocations: 374.3 kB / 1.21 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.4871, allocations: 401.8 kB / 1.21 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.418e-05/0.4872, allocations: 31.94 kB / 1.21 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008905/0.4881, allocations: 371.7 kB / 1.211 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.4883, allocations: 187.1 kB / 1.211 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004408/0.4888, allocations: 494.7 kB / 1.211 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.4903, allocations: 1.522 MB / 1.213 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4904, allocations: 0 / 1.213 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4904, allocations: 4 kB / 1.213 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.4904, allocations: 0 / 1.213 GB, free: 7.012 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002412/0.4928, allocations: 1.257 MB / 1.214 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4929, allocations: 8.031 kB / 1.214 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009496/0.4938, allocations: 195.4 kB / 1.214 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.4949, allocations: 0.7546 MB / 1.215 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.464e-05/0.4949, allocations: 69.94 kB / 1.215 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.4951, allocations: 84 kB / 1.215 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.4967, allocations: 0.9496 MB / 1.216 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.4968, allocations: 0 / 1.216 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.72e-05/0.4969, allocations: 36 kB / 1.216 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.4969, allocations: 27.94 kB / 1.216 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.4988, allocations: 1.136 MB / 1.217 GB, free: 2.367 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.004208/0.503, allocations: 2.8 MB / 1.22 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.5047, allocations: 0.9209 MB / 1.221 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.5053, allocations: 326.7 kB / 1.221 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.164e-05/0.5054, allocations: 32.61 kB / 1.221 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009611/0.5063, allocations: 0.5236 MB / 1.222 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 3.246e-06/0.5064, allocations: 0 / 1.222 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003434/0.5098, allocations: 1.267 MB / 1.223 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.5099, allocations: 204.8 kB / 1.223 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/0.5108, allocations: 0.6371 MB / 1.224 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/0.5109, allocations: 41.7 kB / 1.224 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.5112, allocations: 400.4 kB / 1.224 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.5114, allocations: 284 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.5115, allocations: 73.67 kB / 1.225 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5117, allocations: 386.8 kB / 1.225 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005656/0.5123, allocations: 281.8 kB / 1.225 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/0.5129, allocations: 388 kB / 1.226 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.5141, allocations: 0.6407 MB / 1.226 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5141, allocations: 0 / 1.226 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002062/0.5162, allocations: 0.8917 MB / 1.227 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.5162, allocations: 7.938 kB / 1.227 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5163, allocations: 4.125 kB / 1.227 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/0.5169, allocations: 84.77 kB / 1.227 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007295/0.5176, allocations: 179.7 kB / 1.227 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.5197, allocations: 1.514 MB / 1.229 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008518/0.5206, allocations: 112.9 kB / 1.229 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.5207, allocations: 39.97 kB / 1.229 GB, free: 5.93 MB / 0.9825 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.0004777/0.5212, allocations: 287.6 kB / 1.229 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.5213, allocations: 82.97 kB / 1.229 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.5239, allocations: 1.148 MB / 1.23 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.5239, allocations: 12 kB / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.524, allocations: 7.938 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.524, allocations: 11.92 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.5273, allocations: 2.025 MB / 1.232 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5274, allocations: 0 / 1.232 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/0.528, allocations: 159.8 kB / 1.233 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005385/0.5286, allocations: 80.78 kB / 1.233 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/0.5286, allocations: 27.97 kB / 1.233 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.5306, allocations: 1.555 MB / 1.234 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5307, allocations: 0 / 1.234 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.5329, allocations: 1.055 MB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.5333, allocations: 291.7 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.5335, allocations: 23.94 kB / 1.236 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007481/0.5342, allocations: 94.61 kB / 1.236 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.5344, allocations: 84.88 kB / 1.236 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/0.5345, allocations: 35.98 kB / 1.236 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005917/0.5351, allocations: 459 kB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5351, allocations: 0 / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001001/0.5361, allocations: 335.3 kB / 1.236 GB, free: 13.94 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.001469/0.5376, allocations: 0.6108 MB / 1.237 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.5394, allocations: 0.886 MB / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5394, allocations: 0 / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009592/0.5404, allocations: 0.5432 MB / 1.238 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.5418, allocations: 270.4 kB / 1.239 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.5451, allocations: 2.162 MB / 1.241 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/0.5457, allocations: 1.044 MB / 1.242 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009034/0.5466, allocations: 271 kB / 1.242 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.5469, allocations: 111.4 kB / 1.242 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.5469, allocations: 0 / 1.242 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of Templates: time 0.6736/1.22, allocations: 14.82 MB / 1.257 GB, free: 188.9 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