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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009404/0.0009404, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009371/0.0009371, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8976/0.8976, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.025/2.025, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.508e-06/4.508e-06, allocations: 4 kB / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.845e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007615/0.007643, allocations: 4.855 MB / 0.8829 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1427/0.1504, allocations: 146.4 MB / 1.026 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009569/0.1513, allocations: 31.75 kB / 1.026 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006161/0.1519, allocations: 202.1 kB / 1.026 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.1536, allocations: 0.5824 MB / 1.027 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.1564, allocations: 0.9231 MB / 1.028 GB, free: 13.11 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.158, allocations: 1.568 MB / 1.029 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007425/0.1588, allocations: 409.5 kB / 1.03 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.1599, allocations: 0.803 MB / 1.03 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/0.1605, allocations: 446.7 kB / 1.031 GB, free: 9.875 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.1607, allocations: 132 kB / 1.031 GB, free: 9.746 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009178/0.1616, allocations: 0.515 MB / 1.031 GB, free: 9.23 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.1618, allocations: 338.9 kB / 1.032 GB, free: 8.898 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.1622, allocations: 414.9 kB / 1.032 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.1639, allocations: 1.362 MB / 1.033 GB, free: 7.125 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1639, allocations: 0 / 1.033 GB, free: 7.125 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1639, allocations: 0 / 1.033 GB, free: 7.125 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.1639, allocations: 4 kB / 1.033 GB, free: 7.121 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001933/0.1658, allocations: 1.599 MB / 1.035 GB, free: 5.473 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1659, allocations: 12.03 kB / 1.035 GB, free: 5.461 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.167, allocations: 391.2 kB / 1.035 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/0.1678, allocations: 0.7441 MB / 1.036 GB, free: 4.309 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/0.1679, allocations: 82.11 kB / 1.036 GB, free: 4.23 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-05/0.168, allocations: 96 kB / 1.036 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.169, allocations: 1.064 MB / 1.037 GB, free: 2.953 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.169, allocations: 0 / 1.037 GB, free: 2.953 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.1691, allocations: 40 kB / 1.037 GB, free: 2.914 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.1691, allocations: 24 kB / 1.037 GB, free: 2.891 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.1706, allocations: 0.827 MB / 1.038 GB, free: 2.066 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004813/0.1754, allocations: 2.454 MB / 1.041 GB, free: 15.55 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.1772, allocations: 0.6073 MB / 1.041 GB, free: 14.93 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/0.1776, allocations: 204.8 kB / 1.041 GB, free: 14.73 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.106e-05/0.1777, allocations: 32.97 kB / 1.041 GB, free: 14.7 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009042/0.1786, allocations: 0.5301 MB / 1.042 GB, free: 14.12 MB / 1.01 GB Notification: Performance of pre-optimization done (n=98): time 4.869e-06/0.1786, allocations: 0 / 1.042 GB, free: 14.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=98): time 0.002959/0.1816, allocations: 0.9368 MB / 1.043 GB, free: 13.17 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.1817, allocations: 208.8 kB / 1.043 GB, free: 12.93 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009267/0.1827, allocations: 0.601 MB / 1.044 GB, free: 12.31 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.1828, allocations: 53.7 kB / 1.044 GB, free: 12.25 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/0.1832, allocations: 468.1 kB / 1.044 GB, free: 11.79 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.1835, allocations: 317.3 kB / 1.044 GB, free: 11.47 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005541/0.1841, allocations: 212.2 kB / 1.045 GB, free: 11.26 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.1843, allocations: 0.5664 MB / 1.045 GB, free: 10.68 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/0.1847, allocations: 169.9 kB / 1.045 GB, free: 10.51 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.1854, allocations: 409.8 kB / 1.046 GB, free: 10.06 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009166/0.1863, allocations: 447.1 kB / 1.046 GB, free: 9.613 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.1863, allocations: 112 / 1.046 GB, free: 9.613 MB / 1.01 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001948/0.1882, allocations: 0.762 MB / 1.047 GB, free: 8.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.1883, allocations: 4 kB / 1.047 GB, free: 8.836 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.1883, allocations: 0 / 1.047 GB, free: 8.836 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007833/0.1891, allocations: 135.5 kB / 1.047 GB, free: 8.699 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.1898, allocations: 203.7 kB / 1.047 GB, free: 8.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.1923, allocations: 1.902 MB / 1.049 GB, free: 6.473 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.1933, allocations: 90.72 kB / 1.049 GB, free: 6.387 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.1934, allocations: 47.95 kB / 1.049 GB, free: 6.34 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.k,$PRE.decAng.k,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005266/0.1939, allocations: 232.5 kB / 1.049 GB, free: 6.102 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.1942, allocations: 119.4 kB / 1.05 GB, free: 5.984 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.1965, allocations: 0.9633 MB / 1.05 GB, free: 5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.1965, allocations: 15.98 kB / 1.05 GB, free: 4.984 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1965, allocations: 0 / 1.05 GB, free: 4.984 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.1965, allocations: 11.91 kB / 1.051 GB, free: 4.973 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.2002, allocations: 1.838 MB / 1.052 GB, free: 3.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2002, allocations: 0 / 1.052 GB, free: 3.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.2008, allocations: 159.8 kB / 1.052 GB, free: 2.914 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005709/0.2014, allocations: 127.5 kB / 1.053 GB, free: 2.785 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.237e-05/0.2014, allocations: 27.97 kB / 1.053 GB, free: 2.758 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.2032, allocations: 1.922 MB / 1.054 GB, free: 0.707 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2032, allocations: 0 / 1.054 GB, free: 0.707 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4077/0.6109, allocations: 0.9746 MB / 1.055 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.6113, allocations: 215.1 kB / 1.056 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.6114, allocations: 27.8 kB / 1.056 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.6118, allocations: 50.73 kB / 1.056 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.6119, allocations: 87.5 kB / 1.056 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.612, allocations: 44.36 kB / 1.056 GB, free: 219.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003189/0.6123, allocations: 405.8 kB / 1.056 GB, free: 219.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.6123, allocations: 0 / 1.056 GB, free: 219.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00075/0.613, allocations: 373.5 kB / 1.057 GB, free: 219.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/0.6143, allocations: 0.6523 MB / 1.057 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.6153, allocations: 0.7453 MB / 1.058 GB, free: 219.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6153, allocations: 0 / 1.058 GB, free: 219.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.6158, allocations: 0.5212 MB / 1.058 GB, free: 218.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.6165, allocations: 338.3 kB / 1.059 GB, free: 218.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.6189, allocations: 1.642 MB / 1.06 GB, free: 218.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.619, allocations: 206.4 kB / 1.061 GB, free: 218 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005281/0.6196, allocations: 265.1 kB / 1.061 GB, free: 218 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.6198, allocations: 129.4 kB / 1.061 GB, free: 218 MB / 1.01 GB Notification: Performance of SimCode: time 2.194e-06/0.6198, allocations: 0 / 1.061 GB, free: 218 MB / 1.01 GB Notification: Performance of Templates: time 0.01972/0.6395, allocations: 16.91 MB / 1.077 GB, free: 216 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.283729400951415]