Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 249.5 MB / 257 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 184.6 kB / 316.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 78.55 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.017e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2455, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.659/6.905, allocations: 2.19 GB / 3.075 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/6.905, allocations: 97.47 kB / 3.075 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1192/7.025, allocations: 57.03 MB / 3.131 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.836e-06/7.025, allocations: 0 / 3.131 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.841e-05/7.025, allocations: 24 kB / 3.131 GB, free: 159.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00186/7.027, allocations: 1.031 MB / 3.132 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/7.027, allocations: 8.031 kB / 3.132 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008518/7.027, allocations: 190.5 kB / 3.132 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/7.029, allocations: 0.6114 MB / 3.133 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/7.029, allocations: 27.98 kB / 3.133 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.534e-05/7.029, allocations: 51.98 kB / 3.133 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001331/7.03, allocations: 0.9718 MB / 3.134 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/7.031, allocations: 0.7076 MB / 3.135 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/7.031, allocations: 3.938 kB / 3.135 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/7.031, allocations: 7.953 kB / 3.135 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/7.031, allocations: 20 kB / 3.135 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/7.035, allocations: 2.228 MB / 3.137 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008907/7.035, allocations: 0.722 MB / 3.137 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/7.036, allocations: 247.1 kB / 3.138 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.123e-05/7.036, allocations: 28.81 kB / 3.138 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005029/7.036, allocations: 387.8 kB / 3.138 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/7.036, allocations: 0 / 3.138 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001374/7.038, allocations: 0.6458 MB / 3.139 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/7.038, allocations: 248.1 kB / 3.139 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005506/7.038, allocations: 0.4905 MB / 3.139 GB, free: 151 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/7.039, allocations: 29.7 kB / 3.139 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/7.039, allocations: 372.2 kB / 3.14 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/7.039, allocations: 228.5 kB / 3.14 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/7.039, allocations: 0 / 3.14 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/7.039, allocations: 370.8 kB / 3.14 GB, free: 150 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/7.039, allocations: 189.5 kB / 3.141 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/7.04, allocations: 291.5 kB / 3.141 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/7.04, allocations: 228.5 kB / 3.141 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/7.04, allocations: 4 kB / 3.141 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00119/7.041, allocations: 0.6407 MB / 3.142 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/7.041, allocations: 8 kB / 3.142 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/7.041, allocations: 3.953 kB / 3.142 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/7.042, allocations: 84.78 kB / 3.142 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005123/7.042, allocations: 143.8 kB / 3.142 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/7.044, allocations: 1.45 MB / 3.143 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/7.044, allocations: 63.55 kB / 3.143 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/7.044, allocations: 27.98 kB / 3.143 GB, free: 146.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (75): * Single equations (assignments): 74 * 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.0001493/7.045, allocations: 116.9 kB / 3.144 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.607e-05/7.045, allocations: 75.06 kB / 3.144 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/7.046, allocations: 0.9142 MB / 3.145 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/7.046, allocations: 8 kB / 3.145 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/7.046, allocations: 0 / 3.145 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/7.046, allocations: 11.97 kB / 3.145 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/7.049, allocations: 1.699 MB / 3.146 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/7.049, allocations: 3.984 kB / 3.146 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/7.049, allocations: 147.8 kB / 3.146 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/7.05, allocations: 84.77 kB / 3.146 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/7.05, allocations: 19.98 kB / 3.146 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/7.051, allocations: 1.465 MB / 3.148 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/7.051, allocations: 3.953 kB / 3.148 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/7.052, allocations: 0.826 MB / 3.149 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/7.053, allocations: 283.7 kB / 3.149 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/7.053, allocations: 7.984 kB / 3.149 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/7.053, allocations: 51.95 kB / 3.149 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/7.053, allocations: 56.69 kB / 3.149 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/7.053, allocations: 31.98 kB / 3.149 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004086/7.054, allocations: 406.9 kB / 3.149 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/7.054, allocations: 0 / 3.149 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001002/7.055, allocations: 299.1 kB / 3.15 GB, free: 140 MB / 0.8698 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.001842/7.057, allocations: 1.04 MB / 3.151 GB, free: 139 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001056/7.058, allocations: 0.6472 MB / 3.151 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/7.058, allocations: 0 / 3.151 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/7.058, allocations: 456.5 kB / 3.152 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/7.059, allocations: 217.9 kB / 3.152 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/7.062, allocations: 1.266 MB / 3.153 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/7.063, allocations: 1.023 MB / 3.154 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007865/7.064, allocations: 249.7 kB / 3.155 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/7.064, allocations: 95.33 kB / 3.155 GB, free: 135 MB / 0.8698 GB Notification: Performance of SimCode: time 7.21e-07/7.064, allocations: 0 / 3.155 GB, free: 135 MB / 0.8698 GB Notification: Performance of Templates: time 0.02482/7.089, allocations: 15.2 MB / 3.169 GB, free: 119.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches