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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.599/2.599, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003348, allocations: 15.98 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.739, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005529/0.7447, allocations: 3.729 MB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.904, allocations: 127.6 MB / 1.149 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006175/0.9047, allocations: 15.94 kB / 1.149 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.905, allocations: 75.31 kB / 1.149 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.9063, allocations: 0.4973 MB / 1.15 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.9079, allocations: 0.6436 MB / 1.15 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.909, allocations: 0.8377 MB / 1.151 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007109/0.9098, allocations: 491.3 kB / 1.151 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000526/0.9103, allocations: 358.5 kB / 1.152 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.9107, allocations: 358.2 kB / 1.152 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.797e-05/0.9108, allocations: 28 kB / 1.152 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006853/0.9115, allocations: 307.6 kB / 1.152 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.9117, allocations: 183.2 kB / 1.153 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.9119, allocations: 197.1 kB / 1.153 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.913, allocations: 1.185 MB / 1.154 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.913, allocations: 3.938 kB / 1.154 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.493e-06/0.913, allocations: 4 kB / 1.154 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.913, allocations: 0 / 1.154 GB, free: 8.305 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00223/0.9152, allocations: 1.253 MB / 1.155 GB, free: 7 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.9153, allocations: 11.98 kB / 1.155 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008475/0.9161, allocations: 198.5 kB / 1.155 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.9174, allocations: 0.7272 MB / 1.156 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/0.9174, allocations: 66 kB / 1.156 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.9176, allocations: 80 kB / 1.156 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.9191, allocations: 0.9379 MB / 1.157 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.9191, allocations: 0 / 1.157 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.42e-05/0.9192, allocations: 36 kB / 1.157 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.9192, allocations: 20 kB / 1.157 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.921, allocations: 1.139 MB / 1.158 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/0.9252, allocations: 2.584 MB / 1.161 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.9267, allocations: 0.9168 MB / 1.162 GB, free: 128 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.741e-05/0.9268, allocations: 40.66 kB / 1.162 GB, free: 88 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008874/0.9277, allocations: 0.5138 MB / 1.162 GB, free: 15.55 MB / 0.92 GB Notification: Performance of pre-optimization done (n=85): time 2.404e-06/0.9277, allocations: 0 / 1.162 GB, free: 15.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=85): time 0.003159/0.9309, allocations: 1.26 MB / 1.164 GB, free: 14.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.931, allocations: 200.9 kB / 1.164 GB, free: 14.03 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/0.9318, allocations: 0.6294 MB / 1.164 GB, free: 13.39 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.821e-05/0.9319, allocations: 45.7 kB / 1.164 GB, free: 13.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.9322, allocations: 404.3 kB / 1.165 GB, free: 12.93 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.9325, allocations: 272 kB / 1.165 GB, free: 12.67 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.9325, allocations: 12 kB / 1.165 GB, free: 12.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9327, allocations: 390.8 kB / 1.165 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/0.9332, allocations: 261.9 kB / 1.166 GB, free: 12.01 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005836/0.9338, allocations: 367.4 kB / 1.166 GB, free: 11.62 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.9344, allocations: 310.8 kB / 1.166 GB, free: 11.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9344, allocations: 0 / 1.166 GB, free: 11.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00185/0.9362, allocations: 0.8486 MB / 1.167 GB, free: 10.46 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.9363, allocations: 6.031 kB / 1.167 GB, free: 10.46 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9363, allocations: 0 / 1.167 GB, free: 10.46 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/0.9369, allocations: 84.91 kB / 1.167 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.9376, allocations: 159.8 kB / 1.167 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.9397, allocations: 1.538 MB / 1.169 GB, free: 8.535 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/0.9406, allocations: 105.4 kB / 1.169 GB, free: 8.434 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.885e-05/0.9407, allocations: 40.05 kB / 1.169 GB, free: 8.395 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005519/0.9412, allocations: 270.9 kB / 1.169 GB, free: 8.121 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.9414, allocations: 90.92 kB / 1.169 GB, free: 8.031 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.9438, allocations: 1.144 MB / 1.171 GB, free: 6.875 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.9439, allocations: 8 kB / 1.171 GB, free: 6.867 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9439, allocations: 4 kB / 1.171 GB, free: 6.863 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.9439, allocations: 7.969 kB / 1.171 GB, free: 6.855 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.9472, allocations: 2.036 MB / 1.173 GB, free: 4.758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.9472, allocations: 3.953 kB / 1.173 GB, free: 4.754 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/0.9479, allocations: 159.8 kB / 1.173 GB, free: 4.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005301/0.9484, allocations: 84.77 kB / 1.173 GB, free: 4.512 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/0.9485, allocations: 27.98 kB / 1.173 GB, free: 4.484 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.9503, allocations: 1.559 MB / 1.174 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9503, allocations: 0 / 1.174 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.9524, allocations: 1.058 MB / 1.175 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005603/0.953, allocations: 295.6 kB / 1.176 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.9532, allocations: 20 kB / 1.176 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007157/0.9539, allocations: 85.55 kB / 1.176 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.9541, allocations: 80.88 kB / 1.176 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/0.9542, allocations: 39.98 kB / 1.176 GB, free: 1.184 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006145/0.9548, allocations: 459 kB / 1.176 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9548, allocations: 0 / 1.176 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009085/0.9557, allocations: 315.2 kB / 1.177 GB, free: 440 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001384/0.9571, allocations: 0.5985 MB / 1.177 GB, free: 0 / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.9589, allocations: 0.8394 MB / 1.178 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9589, allocations: 0 / 1.178 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.9599, allocations: 0.5431 MB / 1.179 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.9612, allocations: 242 kB / 1.179 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/0.9657, allocations: 2.249 MB / 1.181 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/0.9664, allocations: 1.059 MB / 1.182 GB, free: 11 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009587/0.9674, allocations: 270.8 kB / 1.182 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.9677, allocations: 111.4 kB / 1.182 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of SimCode: time 1.272e-06/0.9677, allocations: 0 / 1.182 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of Templates: time 0.02545/0.9931, allocations: 14.04 MB / 1.196 GB, free: 12.73 MB / 0.9513 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