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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.169/2.169, allocations: 390.5 MB / 398 MB, free: 10.96 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.001031/0.001031, allocations: 187.8 kB / 491.2 MB, free: 1.613 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.719/1.719, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0008881/0.000888, allocations: 95.47 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.835e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3594, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.318/5.677, allocations: 1.731 GB / 2.943 GB, free: 108.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/5.677, allocations: 90.12 kB / 2.943 GB, free: 108.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.123/5.8, allocations: 58.48 MB / 3 GB, free: 54.86 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.665e-06/5.8, allocations: 3.984 kB / 3 GB, free: 54.86 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.841e-05/5.8, allocations: 27.94 kB / 3 GB, free: 54.83 MB / 1.151 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.001767/5.802, allocations: 1.067 MB / 3.001 GB, free: 53.71 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/5.802, allocations: 8.031 kB / 3.001 GB, free: 53.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008132/5.803, allocations: 190.5 kB / 3.002 GB, free: 53.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/5.804, allocations: 0.6114 MB / 3.002 GB, free: 52.86 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/5.804, allocations: 24 kB / 3.002 GB, free: 52.84 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/5.804, allocations: 48 kB / 3.002 GB, free: 52.79 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001127/5.805, allocations: 0.9796 MB / 3.003 GB, free: 51.81 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/5.806, allocations: 0.7156 MB / 3.004 GB, free: 51.06 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/5.806, allocations: 7.953 kB / 3.004 GB, free: 51.05 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/5.806, allocations: 4 kB / 3.004 GB, free: 51.05 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/5.806, allocations: 20 kB / 3.004 GB, free: 51.03 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/5.809, allocations: 2.267 MB / 3.006 GB, free: 48.71 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/5.81, allocations: 0.7232 MB / 3.007 GB, free: 47.95 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/5.81, allocations: 244.4 kB / 3.007 GB, free: 47.71 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.346e-05/5.81, allocations: 32.8 kB / 3.007 GB, free: 47.68 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000491/5.811, allocations: 391.8 kB / 3.007 GB, free: 47.28 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.454e-06/5.811, allocations: 0 / 3.007 GB, free: 47.28 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001378/5.812, allocations: 0.6485 MB / 3.008 GB, free: 46.62 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/5.812, allocations: 244.1 kB / 3.008 GB, free: 46.33 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007956/5.813, allocations: 498.3 kB / 3.009 GB, free: 45.84 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.355e-05/5.813, allocations: 29.7 kB / 3.009 GB, free: 45.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/5.814, allocations: 376.1 kB / 3.009 GB, free: 45.43 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/5.814, allocations: 240.4 kB / 3.009 GB, free: 45.19 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/5.814, allocations: 0 / 3.009 GB, free: 45.19 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001141/5.814, allocations: 374.8 kB / 3.01 GB, free: 44.81 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/5.814, allocations: 181.5 kB / 3.01 GB, free: 44.64 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/5.814, allocations: 300.3 kB / 3.01 GB, free: 44.31 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/5.815, allocations: 232.5 kB / 3.01 GB, free: 44.08 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/5.815, allocations: 0 / 3.01 GB, free: 44.08 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001216/5.816, allocations: 0.6485 MB / 3.011 GB, free: 43.42 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/5.816, allocations: 8.094 kB / 3.011 GB, free: 43.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/5.816, allocations: 3.984 kB / 3.011 GB, free: 43.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/5.817, allocations: 80.77 kB / 3.011 GB, free: 43.33 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/5.817, allocations: 147.8 kB / 3.011 GB, free: 43.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/5.819, allocations: 1.445 MB / 3.013 GB, free: 41.61 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/5.819, allocations: 63.59 kB / 3.013 GB, free: 41.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/5.819, allocations: 31.97 kB / 3.013 GB, free: 41.52 MB / 1.151 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 () * 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.0001565/5.82, allocations: 116.8 kB / 3.013 GB, free: 41.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/5.82, allocations: 75.11 kB / 3.013 GB, free: 41.32 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/5.821, allocations: 0.9067 MB / 3.014 GB, free: 40.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/5.821, allocations: 11.94 kB / 3.014 GB, free: 40.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/5.821, allocations: 0 / 3.014 GB, free: 40.39 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/5.821, allocations: 7.969 kB / 3.014 GB, free: 40.38 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/5.824, allocations: 1.695 MB / 3.016 GB, free: 38.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/5.824, allocations: 0 / 3.016 GB, free: 38.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/5.824, allocations: 151.8 kB / 3.016 GB, free: 38.49 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/5.825, allocations: 88.77 kB / 3.016 GB, free: 38.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/5.825, allocations: 11.98 kB / 3.016 GB, free: 38.39 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/5.826, allocations: 1.473 MB / 3.017 GB, free: 36.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/5.826, allocations: 0 / 3.017 GB, free: 36.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/5.828, allocations: 0.8298 MB / 3.018 GB, free: 35.95 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/5.828, allocations: 275.8 kB / 3.018 GB, free: 35.66 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.705e-05/5.828, allocations: 16.05 kB / 3.018 GB, free: 35.65 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/5.829, allocations: 47.95 kB / 3.018 GB, free: 35.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/5.829, allocations: 56.69 kB / 3.018 GB, free: 35.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.058e-05/5.829, allocations: 39.98 kB / 3.018 GB, free: 35.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004164/5.829, allocations: 402.8 kB / 3.019 GB, free: 35.11 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.829, allocations: 0 / 3.019 GB, free: 35.11 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001084/5.83, allocations: 331.1 kB / 3.019 GB, free: 34.79 MB / 1.151 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) * 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.001639/5.832, allocations: 1.078 MB / 3.02 GB, free: 33.81 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001051/5.833, allocations: 0.651 MB / 3.021 GB, free: 33.15 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/5.833, allocations: 0 / 3.021 GB, free: 33.15 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/5.834, allocations: 444.5 kB / 3.021 GB, free: 32.71 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/5.835, allocations: 228.4 kB / 3.021 GB, free: 32.49 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/5.838, allocations: 1.285 MB / 3.023 GB, free: 31.17 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/5.838, allocations: 1.023 MB / 3.024 GB, free: 30.12 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007943/5.839, allocations: 253.8 kB / 3.024 GB, free: 29.87 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/5.839, allocations: 91.39 kB / 3.024 GB, free: 29.78 MB / 1.151 GB Notification: Performance of SimCode: time 3.4e-07/5.839, allocations: 4 kB / 3.024 GB, free: 29.78 MB / 1.151 GB Notification: Performance of Templates: time 0.02261/5.862, allocations: 15.46 MB / 3.039 GB, free: 14.44 MB / 1.151 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","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches