Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_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_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.609/2.609, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001228, allocations: 195.3 kB / 498.1 MB, free: 5.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.733/1.733, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 102.2 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003745, allocations: 8.781 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.361, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.574/4.935, allocations: 1.731 GB / 2.954 GB, free: 288.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/4.935, allocations: 104.8 kB / 2.954 GB, free: 288.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1215/5.057, allocations: 59.62 MB / 3.012 GB, free: 228.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.856e-06/5.057, allocations: 0 / 3.012 GB, free: 228.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.806e-05/5.057, allocations: 24 kB / 3.012 GB, free: 228.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001998/5.059, allocations: 1.189 MB / 3.013 GB, free: 227.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/5.059, allocations: 8.031 kB / 3.013 GB, free: 227.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/5.06, allocations: 182.6 kB / 3.013 GB, free: 227.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008466/5.061, allocations: 0.6231 MB / 3.014 GB, free: 226.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/5.061, allocations: 58 kB / 3.014 GB, free: 226.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.028e-05/5.061, allocations: 76 kB / 3.014 GB, free: 226.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/5.062, allocations: 0.8637 MB / 3.015 GB, free: 225.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/5.062, allocations: 0 / 3.015 GB, free: 225.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-05/5.062, allocations: 39.94 kB / 3.015 GB, free: 225.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/5.062, allocations: 24 kB / 3.015 GB, free: 225.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/5.063, allocations: 1.081 MB / 3.016 GB, free: 224.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/5.067, allocations: 2.403 MB / 3.018 GB, free: 221.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/5.068, allocations: 0.818 MB / 3.019 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-05/5.068, allocations: 32.61 kB / 3.019 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006317/5.068, allocations: 427.2 kB / 3.02 GB, free: 220.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 2.094e-06/5.068, allocations: 0 / 3.02 GB, free: 220.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.002621/5.071, allocations: 1.105 MB / 3.021 GB, free: 219.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/5.071, allocations: 243.9 kB / 3.021 GB, free: 219 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006487/5.072, allocations: 0.5853 MB / 3.021 GB, free: 218.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/5.072, allocations: 41.7 kB / 3.021 GB, free: 218.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/5.072, allocations: 372.4 kB / 3.022 GB, free: 218 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/5.072, allocations: 240.4 kB / 3.022 GB, free: 217.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/5.072, allocations: 15.94 kB / 3.022 GB, free: 217.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/5.072, allocations: 382.8 kB / 3.022 GB, free: 217.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/5.073, allocations: 217.2 kB / 3.023 GB, free: 217.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/5.073, allocations: 332.5 kB / 3.023 GB, free: 216.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/5.074, allocations: 267.1 kB / 3.023 GB, free: 216.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/5.074, allocations: 0 / 3.023 GB, free: 216.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001451/5.075, allocations: 0.7315 MB / 3.024 GB, free: 215.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/5.075, allocations: 4 kB / 3.024 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/5.075, allocations: 4 kB / 3.024 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/5.076, allocations: 88.8 kB / 3.024 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/5.076, allocations: 139.7 kB / 3.024 GB, free: 215.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/5.078, allocations: 1.531 MB / 3.026 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/5.078, allocations: 75.83 kB / 3.026 GB, free: 213.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/5.078, allocations: 35.98 kB / 3.026 GB, free: 213.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000374/5.079, allocations: 263.3 kB / 3.026 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.966e-05/5.079, allocations: 75.06 kB / 3.026 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/5.081, allocations: 1.013 MB / 3.027 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/5.081, allocations: 8 kB / 3.027 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/5.081, allocations: 3.984 kB / 3.027 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/5.081, allocations: 11.94 kB / 3.027 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/5.084, allocations: 1.908 MB / 3.029 GB, free: 210.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/5.084, allocations: 0 / 3.029 GB, free: 210.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/5.084, allocations: 155.8 kB / 3.029 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004872/5.085, allocations: 84.77 kB / 3.029 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/5.085, allocations: 19.98 kB / 3.029 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/5.087, allocations: 1.559 MB / 3.031 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/5.087, allocations: 3.984 kB / 3.031 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/5.089, allocations: 0.9258 MB / 3.032 GB, free: 207.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/5.089, allocations: 287.7 kB / 3.032 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/5.089, allocations: 23.94 kB / 3.032 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005461/5.09, allocations: 59.95 kB / 3.032 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/5.09, allocations: 64.86 kB / 3.032 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/5.09, allocations: 35.98 kB / 3.032 GB, free: 207.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006652/5.091, allocations: 483 kB / 3.033 GB, free: 206.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/5.091, allocations: 0 / 3.033 GB, free: 206.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001319/5.092, allocations: 351.3 kB / 3.033 GB, free: 206.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002193/5.094, allocations: 1.074 MB / 3.034 GB, free: 205.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001582/5.096, allocations: 0.7279 MB / 3.035 GB, free: 204.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/5.096, allocations: 0 / 3.035 GB, free: 204.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007106/5.096, allocations: 0.5002 MB / 3.035 GB, free: 204.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/5.097, allocations: 235 kB / 3.035 GB, free: 203.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/5.101, allocations: 2.073 MB / 3.037 GB, free: 201.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/5.101, allocations: 1.027 MB / 3.038 GB, free: 200.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007662/5.102, allocations: 254 kB / 3.039 GB, free: 200.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/5.102, allocations: 99.39 kB / 3.039 GB, free: 200.4 MB / 1.167 GB Notification: Performance of SimCode: time 7.11e-07/5.102, allocations: 0 / 3.039 GB, free: 200.4 MB / 1.167 GB Notification: Performance of Templates: time 0.02762/5.13, allocations: 20.26 MB / 3.058 GB, free: 180.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches