Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 97.97 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.001487/0.001487, allocations: 177.3 kB / 15.95 MB, free: 216 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.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.573/2.573, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 8 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7784/0.7787, allocations: 153.7 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004592/0.7834, allocations: 3.787 MB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1583/0.9417, allocations: 127.6 MB / 1.149 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000911/0.9427, allocations: 19.88 kB / 1.149 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.9431, allocations: 75.33 kB / 1.149 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.9451, allocations: 0.5127 MB / 1.15 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.9471, allocations: 0.6603 MB / 1.15 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.9487, allocations: 0.8689 MB / 1.151 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007648/0.9495, allocations: 495.2 kB / 1.152 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000643/0.9501, allocations: 374.4 kB / 1.152 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.9506, allocations: 370.2 kB / 1.152 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.142e-05/0.9507, allocations: 28 kB / 1.152 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008864/0.9516, allocations: 331.6 kB / 1.153 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.9518, allocations: 195.2 kB / 1.153 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.952, allocations: 201.1 kB / 1.153 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.9534, allocations: 1.212 MB / 1.154 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.9534, allocations: 0 / 1.154 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9534, allocations: 4 kB / 1.154 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.9534, allocations: 0 / 1.154 GB, free: 7.988 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002648/0.9561, allocations: 1.287 MB / 1.156 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.9561, allocations: 11.98 kB / 1.156 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009463/0.9571, allocations: 202.4 kB / 1.156 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.9583, allocations: 0.7427 MB / 1.157 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-05/0.9584, allocations: 69.98 kB / 1.157 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.9585, allocations: 84 kB / 1.157 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.9602, allocations: 0.9651 MB / 1.158 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.9602, allocations: 11.92 kB / 1.158 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.114e-05/0.9603, allocations: 36 kB / 1.158 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.9603, allocations: 20 kB / 1.158 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.9622, allocations: 1.163 MB / 1.159 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004612/0.9668, allocations: 2.734 MB / 1.161 GB, free: 476 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.9689, allocations: 0.9884 MB / 1.162 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.093e-05/0.969, allocations: 32.61 kB / 1.162 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009661/0.97, allocations: 0.5276 MB / 1.163 GB, free: 14.89 MB / 0.92 GB Notification: Performance of pre-optimization done (n=88): time 2.756e-06/0.97, allocations: 0 / 1.163 GB, free: 14.89 MB / 0.92 GB Notification: Performance of matching and sorting (n=88): time 0.003269/0.9733, allocations: 1.306 MB / 1.164 GB, free: 13.55 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.9734, allocations: 188.9 kB / 1.164 GB, free: 13.32 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009001/0.9743, allocations: 0.6412 MB / 1.165 GB, free: 12.67 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.531e-05/0.9744, allocations: 49.69 kB / 1.165 GB, free: 12.62 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.9748, allocations: 400.5 kB / 1.165 GB, free: 12.22 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.975, allocations: 287.9 kB / 1.166 GB, free: 11.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.9751, allocations: 16 kB / 1.166 GB, free: 11.92 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.9753, allocations: 390.8 kB / 1.166 GB, free: 11.53 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.9758, allocations: 265.9 kB / 1.166 GB, free: 11.27 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.9765, allocations: 386.5 kB / 1.167 GB, free: 10.86 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.9771, allocations: 314.9 kB / 1.167 GB, free: 10.56 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9771, allocations: 0 / 1.167 GB, free: 10.56 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001979/0.9791, allocations: 0.8721 MB / 1.168 GB, free: 9.676 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.9791, allocations: 8 kB / 1.168 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.9791, allocations: 0 / 1.168 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006001/0.9797, allocations: 84.83 kB / 1.168 GB, free: 9.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/0.9805, allocations: 167.8 kB / 1.168 GB, free: 9.418 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.9825, allocations: 1.536 MB / 1.17 GB, free: 7.742 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009306/0.9835, allocations: 119.4 kB / 1.17 GB, free: 7.625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.9836, allocations: 31.98 kB / 1.17 GB, free: 7.594 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 ($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,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0005526/0.9841, allocations: 271.4 kB / 1.17 GB, free: 7.316 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.9843, allocations: 82.97 kB / 1.17 GB, free: 7.234 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.9868, allocations: 1.218 MB / 1.171 GB, free: 6.004 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.9868, allocations: 8 kB / 1.171 GB, free: 5.996 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9869, allocations: 7.938 kB / 1.171 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.9869, allocations: 7.938 kB / 1.171 GB, free: 5.98 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003718/0.9906, allocations: 2.11 MB / 1.173 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.9906, allocations: 0 / 1.173 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006835/0.9913, allocations: 163.7 kB / 1.174 GB, free: 3.648 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005319/0.9919, allocations: 88.77 kB / 1.174 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/0.9919, allocations: 31.97 kB / 1.174 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.9939, allocations: 1.556 MB / 1.175 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9939, allocations: 0 / 1.175 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/0.9963, allocations: 1.097 MB / 1.176 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/0.9969, allocations: 303.5 kB / 1.177 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.997, allocations: 24 kB / 1.177 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007509/0.9978, allocations: 85.55 kB / 1.177 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.998, allocations: 88.88 kB / 1.177 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.133e-05/0.9981, allocations: 43.92 kB / 1.177 GB, free: 168 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008145/0.9989, allocations: 463 kB / 1.177 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9989, allocations: 0 / 1.177 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00123/1, allocations: 339.2 kB / 1.178 GB, free: 15.38 MB / 0.9356 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 (106): * Single equations (assignments): 99 * 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.001763/1.002, allocations: 0.6208 MB / 1.178 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002017/1.004, allocations: 0.8703 MB / 1.179 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.004, allocations: 192 / 1.179 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009831/1.005, allocations: 0.5627 MB / 1.18 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/1.006, allocations: 235.1 kB / 1.18 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/1.011, allocations: 2.304 MB / 1.182 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/1.011, allocations: 1.063 MB / 1.183 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009311/1.012, allocations: 279 kB / 1.183 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/1.012, allocations: 111.4 kB / 1.183 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of SimCode: time 2.184e-06/1.012, allocations: 0 / 1.183 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of Templates: time 0.02533/1.038, allocations: 14.53 MB / 1.198 GB, free: 11.09 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches