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.415/1.415, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 187 kB / 326.5 MB, free: 2.242 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.934/1.934, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.001055/0.001055, allocations: 95.67 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 8.219 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2824, allocations: 106.3 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.171/6.453, allocations: 2.19 GB / 3.09 GB, free: 246 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/6.453, allocations: 97.67 kB / 3.09 GB, free: 246 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1333/6.587, allocations: 59 MB / 3.148 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.924e-06/6.587, allocations: 0 / 3.148 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001379/6.587, allocations: 23.59 kB / 3.148 GB, free: 239.3 MB / 0.8855 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.002629/6.59, allocations: 1.142 MB / 3.149 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/6.59, allocations: 15.47 kB / 3.149 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008806/6.59, allocations: 190.3 kB / 3.149 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/6.592, allocations: 0.6052 MB / 3.15 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/6.592, allocations: 57.81 kB / 3.15 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.885e-05/6.592, allocations: 79.78 kB / 3.15 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/6.593, allocations: 0.8503 MB / 3.151 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/6.593, allocations: 0 / 3.151 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/6.593, allocations: 37.08 kB / 3.151 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/6.593, allocations: 23.45 kB / 3.151 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/6.595, allocations: 1.064 MB / 3.152 GB, free: 238 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/6.598, allocations: 2.391 MB / 3.154 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/6.599, allocations: 0.8055 MB / 3.155 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.461e-05/6.599, allocations: 32.41 kB / 3.155 GB, free: 237 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000702/6.6, allocations: 430.2 kB / 3.155 GB, free: 237 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.456e-06/6.6, allocations: 7.875 kB / 3.155 GB, free: 237 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.0028/6.603, allocations: 1.097 MB / 3.156 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/6.603, allocations: 247.7 kB / 3.156 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/6.604, allocations: 0.5708 MB / 3.157 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.112e-05/6.604, allocations: 36.61 kB / 3.157 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/6.604, allocations: 366.6 kB / 3.157 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/6.604, allocations: 243.2 kB / 3.158 GB, free: 236 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/6.604, allocations: 14.62 kB / 3.158 GB, free: 236 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001095/6.604, allocations: 372.7 kB / 3.158 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/6.605, allocations: 223.4 kB / 3.158 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/6.605, allocations: 324.5 kB / 3.159 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/6.605, allocations: 265 kB / 3.159 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/6.606, allocations: 0 / 3.159 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001503/6.607, allocations: 0.726 MB / 3.16 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/6.607, allocations: 15.73 kB / 3.16 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/6.607, allocations: 0 / 3.16 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/6.608, allocations: 82.7 kB / 3.16 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/6.608, allocations: 136.7 kB / 3.16 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/6.61, allocations: 1.534 MB / 3.161 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006021/6.611, allocations: 77.94 kB / 3.161 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/6.611, allocations: 27.02 kB / 3.161 GB, free: 233.8 MB / 0.8855 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 () * Number of clocked 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.0005104/6.611, allocations: 248.9 kB / 3.162 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/6.611, allocations: 78.27 kB / 3.162 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/6.613, allocations: 1.023 MB / 3.163 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/6.613, allocations: 15.66 kB / 3.163 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/6.613, allocations: 0 / 3.163 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/6.613, allocations: 3.984 kB / 3.163 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/6.616, allocations: 1.907 MB / 3.165 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/6.616, allocations: 4 kB / 3.165 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/6.617, allocations: 149.1 kB / 3.165 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000487/6.617, allocations: 88 kB / 3.165 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/6.617, allocations: 27.86 kB / 3.165 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/6.619, allocations: 1.559 MB / 3.166 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/6.619, allocations: 4.062 kB / 3.166 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/6.62, allocations: 0.926 MB / 3.167 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/6.621, allocations: 283.4 kB / 3.167 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-05/6.621, allocations: 13.94 kB / 3.168 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000547/6.621, allocations: 72.78 kB / 3.168 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/6.621, allocations: 58.92 kB / 3.168 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/6.621, allocations: 31.09 kB / 3.168 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005505/6.622, allocations: 470.8 kB / 3.168 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.31e-07/6.622, allocations: 0 / 3.168 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001099/6.623, allocations: 343.5 kB / 3.168 GB, free: 230.3 MB / 0.8855 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.001735/6.625, allocations: 1.035 MB / 3.169 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00131/6.626, allocations: 0.7264 MB / 3.17 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/6.626, allocations: 0 / 3.17 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007028/6.627, allocations: 0.4944 MB / 3.171 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009675/6.628, allocations: 234.7 kB / 3.171 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/6.631, allocations: 2.072 MB / 3.173 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/6.632, allocations: 1.022 MB / 3.174 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007841/6.633, allocations: 258.9 kB / 3.174 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/6.633, allocations: 96.67 kB / 3.174 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of SimCode: time 2.215e-06/6.633, allocations: 0 / 3.174 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.02662/6.66, allocations: 19.93 MB / 3.194 GB, free: 217.2 MB / 0.8855 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