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.205/2.205, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001037/0.001037, allocations: 176.9 kB / 487.4 MB, free: 5.031 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.76/1.76, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 106.6 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.81e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3977, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.301/5.698, allocations: 1.73 GB / 2.936 GB, free: 165.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/5.699, allocations: 97.17 kB / 2.936 GB, free: 165.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1267/5.825, allocations: 58.48 MB / 2.993 GB, free: 106.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/5.825, allocations: 0 / 2.993 GB, free: 106.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001205/5.826, allocations: 23.94 kB / 2.993 GB, free: 106.5 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.002421/5.828, allocations: 1.067 MB / 2.994 GB, free: 105.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/5.828, allocations: 8.031 kB / 2.994 GB, free: 105.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/5.829, allocations: 194.5 kB / 2.994 GB, free: 105.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/5.83, allocations: 0.6114 MB / 2.995 GB, free: 104.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/5.83, allocations: 24 kB / 2.995 GB, free: 104.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/5.831, allocations: 44 kB / 2.995 GB, free: 104.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/5.832, allocations: 0.9796 MB / 2.996 GB, free: 103.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/5.833, allocations: 0.7273 MB / 2.997 GB, free: 102.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/5.833, allocations: 3.938 kB / 2.997 GB, free: 102.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/5.833, allocations: 3.953 kB / 2.997 GB, free: 102.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/5.833, allocations: 20 kB / 2.997 GB, free: 102.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/5.837, allocations: 2.256 MB / 2.999 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009104/5.838, allocations: 0.7251 MB / 3 GB, free: 99.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/5.838, allocations: 255.1 kB / 3 GB, free: 99.41 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.21e-05/5.838, allocations: 32.67 kB / 3 GB, free: 99.38 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005278/5.839, allocations: 392.9 kB / 3 GB, free: 98.97 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 3.857e-06/5.839, allocations: 0 / 3 GB, free: 98.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001512/5.84, allocations: 0.6447 MB / 3.001 GB, free: 98.32 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/5.84, allocations: 240.1 kB / 3.001 GB, free: 98.03 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006874/5.841, allocations: 0.4906 MB / 3.002 GB, free: 97.54 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/5.841, allocations: 25.7 kB / 3.002 GB, free: 97.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/5.841, allocations: 384.1 kB / 3.002 GB, free: 97.12 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/5.842, allocations: 236.4 kB / 3.002 GB, free: 96.89 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/5.842, allocations: 0 / 3.002 GB, free: 96.89 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001128/5.842, allocations: 374.8 kB / 3.003 GB, free: 96.51 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/5.842, allocations: 189.5 kB / 3.003 GB, free: 96.32 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/5.842, allocations: 300.4 kB / 3.003 GB, free: 96 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/5.843, allocations: 232.4 kB / 3.003 GB, free: 95.77 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/5.843, allocations: 0 / 3.003 GB, free: 95.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001276/5.844, allocations: 0.6524 MB / 3.004 GB, free: 95.11 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/5.844, allocations: 4 kB / 3.004 GB, free: 95.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/5.844, allocations: 0 / 3.004 GB, free: 95.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/5.845, allocations: 84.88 kB / 3.004 GB, free: 95.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/5.845, allocations: 139.8 kB / 3.004 GB, free: 94.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/5.847, allocations: 1.45 MB / 3.006 GB, free: 93.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/5.847, allocations: 59.5 kB / 3.006 GB, free: 93.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/5.848, allocations: 28.05 kB / 3.006 GB, free: 93.22 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.0001705/5.848, allocations: 120.9 kB / 3.006 GB, free: 93.09 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/5.848, allocations: 75.11 kB / 3.006 GB, free: 93.02 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/5.85, allocations: 0.9067 MB / 3.007 GB, free: 92.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/5.85, allocations: 8 kB / 3.007 GB, free: 92.09 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/5.85, allocations: 0 / 3.007 GB, free: 92.09 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/5.85, allocations: 3.984 kB / 3.007 GB, free: 92.09 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/5.852, allocations: 1.699 MB / 3.008 GB, free: 90.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/5.852, allocations: 3.984 kB / 3.008 GB, free: 90.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/5.853, allocations: 147.8 kB / 3.009 GB, free: 90.19 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/5.854, allocations: 88.72 kB / 3.009 GB, free: 90.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/5.854, allocations: 11.98 kB / 3.009 GB, free: 90.09 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/5.855, allocations: 1.481 MB / 3.01 GB, free: 88.49 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/5.855, allocations: 3.984 kB / 3.01 GB, free: 88.48 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/5.856, allocations: 0.8299 MB / 3.011 GB, free: 87.64 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/5.857, allocations: 279.8 kB / 3.011 GB, free: 87.34 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/5.857, allocations: 4 kB / 3.011 GB, free: 87.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/5.858, allocations: 51.94 kB / 3.011 GB, free: 87.29 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/5.858, allocations: 60.7 kB / 3.011 GB, free: 87.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/5.858, allocations: 31.97 kB / 3.011 GB, free: 87.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004776/5.858, allocations: 398.9 kB / 3.012 GB, free: 86.81 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.858, allocations: 0 / 3.012 GB, free: 86.81 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001107/5.859, allocations: 327.1 kB / 3.012 GB, free: 86.49 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.002117/5.862, allocations: 1.084 MB / 3.013 GB, free: 85.52 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001173/5.863, allocations: 0.6437 MB / 3.014 GB, free: 84.86 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/5.863, allocations: 192 / 3.014 GB, free: 84.86 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006148/5.863, allocations: 456.5 kB / 3.014 GB, free: 84.41 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/5.865, allocations: 223.1 kB / 3.014 GB, free: 84.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/5.868, allocations: 1.286 MB / 3.016 GB, free: 82.88 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/5.868, allocations: 1.019 MB / 3.017 GB, free: 81.83 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008446/5.869, allocations: 249.7 kB / 3.017 GB, free: 81.59 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/5.869, allocations: 95.39 kB / 3.017 GB, free: 81.49 MB / 1.151 GB Notification: Performance of SimCode: time 6.32e-07/5.869, allocations: 0 / 3.017 GB, free: 81.49 MB / 1.151 GB Notification: Performance of Templates: time 0.02537/5.895, allocations: 15.47 MB / 3.032 GB, free: 66.15 MB / 1.151 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