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.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.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.009358/0.009357, allocations: 101.9 kB / 15.88 MB, free: 5.863 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.001763/0.001763, allocations: 193.3 kB / 16.79 MB, free: 5.805 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.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 461.9 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001308, allocations: 62.19 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3355, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006402/0.342, allocations: 4.953 MB / 1.058 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1635/0.5055, allocations: 148.3 MB / 1.202 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.5067, allocations: 15.88 kB / 1.202 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006504/0.5073, allocations: 150.8 kB / 1.203 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.5093, allocations: 481.2 kB / 1.203 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.5113, allocations: 0.7426 MB / 1.204 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.5128, allocations: 1.335 MB / 1.205 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008622/0.5137, allocations: 0.5714 MB / 1.206 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006942/0.5144, allocations: 442.3 kB / 1.206 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005539/0.515, allocations: 0.4899 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.5151, allocations: 56 kB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008778/0.516, allocations: 395.7 kB / 1.207 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.5163, allocations: 247 kB / 1.207 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004989/0.5168, allocations: 0.5205 MB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.5181, allocations: 1.22 MB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5181, allocations: 4 kB / 1.209 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5181, allocations: 0 / 1.209 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.5181, allocations: 0 / 1.209 GB, free: 7.738 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.00273/0.5208, allocations: 1.471 MB / 1.21 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.5209, allocations: 11.97 kB / 1.21 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009266/0.5218, allocations: 191.4 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5229, allocations: 0.7507 MB / 1.211 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.5229, allocations: 66 kB / 1.211 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.5231, allocations: 84 kB / 1.211 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.5246, allocations: 0.9496 MB / 1.212 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.5246, allocations: 0 / 1.212 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.5247, allocations: 36 kB / 1.212 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.5247, allocations: 20 kB / 1.212 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.5265, allocations: 1.132 MB / 1.213 GB, free: 2.895 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.004046/0.5305, allocations: 2.771 MB / 1.216 GB, free: 8 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.5321, allocations: 0.9096 MB / 1.217 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005297/0.5326, allocations: 314.7 kB / 1.217 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.123e-05/0.5327, allocations: 32.69 kB / 1.217 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009702/0.5337, allocations: 0.512 MB / 1.218 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.505e-06/0.5337, allocations: 0 / 1.218 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003363/0.5371, allocations: 1.259 MB / 1.219 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.5372, allocations: 196.9 kB / 1.219 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008886/0.5381, allocations: 0.6409 MB / 1.22 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/0.5382, allocations: 41.7 kB / 1.22 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.5385, allocations: 400.4 kB / 1.22 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.5388, allocations: 276 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.539, allocations: 174.4 kB / 1.221 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.5392, allocations: 394.8 kB / 1.221 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.5398, allocations: 277.8 kB / 1.221 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/0.5404, allocations: 383.9 kB / 1.222 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.5415, allocations: 0.6368 MB / 1.222 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5415, allocations: 0 / 1.222 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001963/0.5434, allocations: 0.8917 MB / 1.223 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.5435, allocations: 7.938 kB / 1.223 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5435, allocations: 4.125 kB / 1.223 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.5441, allocations: 76.78 kB / 1.223 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/0.5448, allocations: 175.7 kB / 1.224 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.5471, allocations: 1.525 MB / 1.225 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008691/0.5479, allocations: 91.39 kB / 1.225 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.548, allocations: 39.97 kB / 1.225 GB, free: 6.469 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.0005127/0.5486, allocations: 279.7 kB / 1.225 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.5488, allocations: 87.16 kB / 1.226 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.5513, allocations: 1.136 MB / 1.227 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.5513, allocations: 12 kB / 1.227 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5513, allocations: 0 / 1.227 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.5513, allocations: 19.78 kB / 1.227 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/0.5547, allocations: 2.009 MB / 1.229 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5547, allocations: 3.938 kB / 1.229 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.5553, allocations: 155.8 kB / 1.229 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000515/0.5558, allocations: 84.77 kB / 1.229 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/0.5559, allocations: 23.98 kB / 1.229 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.5577, allocations: 1.551 MB / 1.23 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5578, allocations: 0 / 1.23 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.5598, allocations: 1.051 MB / 1.231 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.5603, allocations: 275.7 kB / 1.232 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.5604, allocations: 23.94 kB / 1.232 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.5611, allocations: 73.17 kB / 1.232 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.5613, allocations: 76.88 kB / 1.232 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-05/0.5613, allocations: 39.98 kB / 1.232 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005768/0.5619, allocations: 463 kB / 1.232 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5619, allocations: 0 / 1.232 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001009/0.5629, allocations: 335.2 kB / 1.233 GB, free: 14.54 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.001432/0.5644, allocations: 0.6091 MB / 1.233 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.5661, allocations: 0.8626 MB / 1.234 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5661, allocations: 8 kB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009205/0.567, allocations: 0.5392 MB / 1.235 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.5683, allocations: 293.3 kB / 1.235 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.5717, allocations: 2.165 MB / 1.237 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.5723, allocations: 1.044 MB / 1.238 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.5726, allocations: 123.3 kB / 1.238 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.5726, allocations: 0 / 1.238 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of Templates: time 0.575/1.148, allocations: 18.96 MB / 1.257 GB, free: 190.7 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/jenkins1/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