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.001322/0.001322, allocations: 105 kB / 16.35 MB, free: 5.824 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.001295/0.001295, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001365, allocations: 61.16 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2725, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006764/0.2793, allocations: 4.967 MB / 1.032 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6766/0.9559, allocations: 150.6 MB / 1.179 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007846/0.9568, allocations: 19.31 kB / 1.179 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005973/0.9574, allocations: 192.4 kB / 1.179 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.9593, allocations: 0.5625 MB / 1.179 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.9613, allocations: 0.8501 MB / 1.18 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.9631, allocations: 1.428 MB / 1.182 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000866/0.964, allocations: 0.5956 MB / 1.182 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007544/0.9647, allocations: 0.4964 MB / 1.183 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.9654, allocations: 0.5218 MB / 1.183 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.9655, allocations: 119.5 kB / 1.183 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000931/0.9665, allocations: 489.7 kB / 1.184 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.9668, allocations: 303.9 kB / 1.184 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005318/0.9673, allocations: 0.5691 MB / 1.185 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.9691, allocations: 1.674 MB / 1.186 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.9691, allocations: 0 / 1.186 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9691, allocations: 0 / 1.186 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.463e-05/0.9692, allocations: 0 / 1.186 GB, free: 1.84 MB / 0.8887 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.002877/0.972, allocations: 1.461 MB / 1.188 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.9721, allocations: 13.91 kB / 1.188 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009821/0.9731, allocations: 188.7 kB / 1.188 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.9744, allocations: 0.7796 MB / 1.189 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.9744, allocations: 61.72 kB / 1.189 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.9745, allocations: 85.53 kB / 1.189 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.9761, allocations: 0.9501 MB / 1.19 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.9762, allocations: 0 / 1.19 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/0.9763, allocations: 37.06 kB / 1.19 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.9763, allocations: 21.16 kB / 1.19 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.9781, allocations: 1.129 MB / 1.191 GB, free: 14.71 MB / 0.9044 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.004156/0.9823, allocations: 2.727 MB / 1.194 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.9839, allocations: 0.918 MB / 1.194 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.9844, allocations: 314.3 kB / 1.195 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.022e-05/0.9845, allocations: 36.33 kB / 1.195 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008472/0.9854, allocations: 0.5123 MB / 1.195 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=85): time 2.164e-06/0.9854, allocations: 0 / 1.195 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=85): time 0.003167/0.9885, allocations: 1.262 MB / 1.196 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/0.9886, allocations: 189.2 kB / 1.197 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007614/0.9894, allocations: 0.6451 MB / 1.197 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.9895, allocations: 42.61 kB / 1.197 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.9898, allocations: 405.9 kB / 1.198 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.99, allocations: 273.8 kB / 1.198 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.9902, allocations: 175.6 kB / 1.198 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.9904, allocations: 395.2 kB / 1.199 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.9909, allocations: 275.8 kB / 1.199 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006088/0.9915, allocations: 386.3 kB / 1.199 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.9926, allocations: 0.6417 MB / 1.2 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9926, allocations: 0 / 1.2 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001946/0.9946, allocations: 0.8819 MB / 1.201 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.9946, allocations: 4.406 kB / 1.201 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.9946, allocations: 2.906 kB / 1.201 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/0.9952, allocations: 94.17 kB / 1.201 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006766/0.9959, allocations: 169.2 kB / 1.201 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.9979, allocations: 1.634 MB / 1.203 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007727/0.9987, allocations: 97.39 kB / 1.203 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/0.9988, allocations: 40.81 kB / 1.203 GB, free: 6.184 MB / 0.9044 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.0004098/0.9992, allocations: 271.4 kB / 1.203 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.9994, allocations: 88.27 kB / 1.203 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/1.002, allocations: 1.132 MB / 1.204 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/1.002, allocations: 13.53 kB / 1.204 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/1.002, allocations: 2.594 kB / 1.204 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/1.002, allocations: 3.984 kB / 1.204 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/1.005, allocations: 2.022 MB / 1.206 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/1.005, allocations: 0 / 1.206 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/1.006, allocations: 157 kB / 1.206 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004406/1.006, allocations: 67.84 kB / 1.206 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/1.006, allocations: 37.91 kB / 1.206 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/1.008, allocations: 1.657 MB / 1.208 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.008, allocations: 0 / 1.208 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/1.01, allocations: 1.052 MB / 1.209 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/1.01, allocations: 286.6 kB / 1.209 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/1.011, allocations: 21.03 kB / 1.209 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/1.011, allocations: 67.23 kB / 1.209 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.011, allocations: 78.45 kB / 1.209 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.55e-05/1.012, allocations: 37.44 kB / 1.209 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005622/1.012, allocations: 462.8 kB / 1.21 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.375e-06/1.012, allocations: 4 kB / 1.21 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009318/1.013, allocations: 339.6 kB / 1.21 GB, free: 0.7031 MB / 0.9044 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.001355/1.014, allocations: 0.6047 MB / 1.211 GB, free: 284 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001797/1.016, allocations: 0.8714 MB / 1.212 GB, free: 15.39 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.016, allocations: 4 kB / 1.212 GB, free: 15.39 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009395/1.017, allocations: 0.5432 MB / 1.212 GB, free: 14.83 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/1.018, allocations: 307.9 kB / 1.212 GB, free: 14.56 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/1.021, allocations: 1.698 MB / 1.214 GB, free: 12.83 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/1.022, allocations: 1.032 MB / 1.215 GB, free: 11.77 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007524/1.023, allocations: 263 kB / 1.215 GB, free: 11.51 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/1.023, allocations: 111.4 kB / 1.216 GB, free: 11.4 MB / 0.92 GB Notification: Performance of SimCode: time 3.8e-07/1.023, allocations: 4 kB / 1.216 GB, free: 11.39 MB / 0.92 GB Notification: Performance of Templates: time 0.02492/1.048, allocations: 15.6 MB / 1.231 GB, free: 11.97 MB / 0.9356 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 -s gbode -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