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.0009516/0.0009516, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001012/0.001012, allocations: 169 kB / 23.02 MB, free: 1.547 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.9459/0.9459, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.097/2.097, allocations: 429.4 MB / 0.6732 GB, free: 4.062 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 1.864e-06/1.864e-06, allocations: 0 / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.446e-05/3.632e-05, allocations: 4.844 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007537/0.007574, allocations: 4.889 MB / 0.8829 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1413/0.1489, allocations: 146.7 MB / 1.026 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009201/0.1498, allocations: 23.81 kB / 1.026 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000652/0.1505, allocations: 206 kB / 1.026 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.1522, allocations: 0.5902 MB / 1.027 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.1541, allocations: 0.9192 MB / 1.028 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.1557, allocations: 1.568 MB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007239/0.1565, allocations: 413.5 kB / 1.03 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.1575, allocations: 0.803 MB / 1.031 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000565/0.1581, allocations: 441.1 kB / 1.031 GB, free: 9.289 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.1582, allocations: 132 kB / 1.031 GB, free: 9.16 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.1594, allocations: 0.5188 MB / 1.032 GB, free: 8.641 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.1597, allocations: 338.9 kB / 1.032 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.1601, allocations: 426.9 kB / 1.032 GB, free: 7.891 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.1619, allocations: 1.358 MB / 1.034 GB, free: 6.527 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1619, allocations: 0 / 1.034 GB, free: 6.527 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1619, allocations: 4 kB / 1.034 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.1619, allocations: 0 / 1.034 GB, free: 6.523 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.002167/0.1641, allocations: 1.599 MB / 1.035 GB, free: 4.875 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1642, allocations: 8.031 kB / 1.035 GB, free: 4.867 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.1656, allocations: 383.2 kB / 1.036 GB, free: 4.492 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.1667, allocations: 0.7558 MB / 1.036 GB, free: 3.711 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/0.1668, allocations: 70.12 kB / 1.036 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.1669, allocations: 108 kB / 1.037 GB, free: 3.539 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.1682, allocations: 1.064 MB / 1.038 GB, free: 2.355 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.1683, allocations: 0 / 1.038 GB, free: 2.355 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.1683, allocations: 39.98 kB / 1.038 GB, free: 2.316 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.1684, allocations: 24 kB / 1.038 GB, free: 2.293 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.1699, allocations: 0.827 MB / 1.038 GB, free: 1.465 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003658/0.1735, allocations: 2.45 MB / 1.041 GB, free: 14.95 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.1749, allocations: 0.61 MB / 1.041 GB, free: 14.33 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.1752, allocations: 198.6 kB / 1.042 GB, free: 14.14 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.072e-05/0.1753, allocations: 28.98 kB / 1.042 GB, free: 14.11 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006817/0.176, allocations: 0.534 MB / 1.042 GB, free: 13.53 MB / 1.01 GB Notification: Performance of pre-optimization done (n=98): time 3.627e-06/0.176, allocations: 4 kB / 1.042 GB, free: 13.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=98): time 0.002142/0.1781, allocations: 0.9368 MB / 1.043 GB, free: 12.57 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.1782, allocations: 204.8 kB / 1.043 GB, free: 12.33 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006691/0.1789, allocations: 0.601 MB / 1.044 GB, free: 11.72 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-05/0.179, allocations: 53.69 kB / 1.044 GB, free: 11.66 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.1793, allocations: 468.1 kB / 1.044 GB, free: 11.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.1795, allocations: 321.3 kB / 1.045 GB, free: 10.88 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.1798, allocations: 208.2 kB / 1.045 GB, free: 10.67 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.18, allocations: 0.5664 MB / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/0.1805, allocations: 161.9 kB / 1.046 GB, free: 9.93 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.1809, allocations: 413.8 kB / 1.046 GB, free: 9.477 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.1817, allocations: 447.1 kB / 1.046 GB, free: 9.027 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.1817, allocations: 4 kB / 1.046 GB, free: 9.023 MB / 1.01 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001454/0.1832, allocations: 0.7504 MB / 1.047 GB, free: 8.262 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1832, allocations: 8 kB / 1.047 GB, free: 8.254 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1832, allocations: 4.094 kB / 1.047 GB, free: 8.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/0.1838, allocations: 135.5 kB / 1.047 GB, free: 8.113 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.1844, allocations: 203.7 kB / 1.047 GB, free: 7.914 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.1861, allocations: 1.906 MB / 1.049 GB, free: 5.883 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005006/0.1866, allocations: 87.48 kB / 1.049 GB, free: 5.797 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-05/0.1867, allocations: 39.97 kB / 1.049 GB, free: 5.758 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.0003414/0.1871, allocations: 232.5 kB / 1.05 GB, free: 5.52 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.1873, allocations: 123.4 kB / 1.05 GB, free: 5.398 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.189, allocations: 0.9634 MB / 1.051 GB, free: 4.414 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.189, allocations: 12 kB / 1.051 GB, free: 4.402 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.189, allocations: 4 kB / 1.051 GB, free: 4.398 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.189, allocations: 7.922 kB / 1.051 GB, free: 4.391 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.1919, allocations: 1.838 MB / 1.053 GB, free: 2.488 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1919, allocations: 0 / 1.053 GB, free: 2.488 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004781/0.1924, allocations: 175.7 kB / 1.053 GB, free: 2.316 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004459/0.1928, allocations: 111.6 kB / 1.053 GB, free: 2.203 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.1929, allocations: 31.98 kB / 1.053 GB, free: 2.172 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.1943, allocations: 1.915 MB / 1.055 GB, free: 132 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1943, allocations: 3.984 kB / 1.055 GB, free: 128 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4556/0.6499, allocations: 0.9783 MB / 1.056 GB, free: 73.54 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.6503, allocations: 218.8 kB / 1.056 GB, free: 73.54 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.062e-05/0.6503, allocations: 32.22 kB / 1.056 GB, free: 73.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.6507, allocations: 49.89 kB / 1.056 GB, free: 73.54 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.6508, allocations: 89.34 kB / 1.056 GB, free: 73.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.6508, allocations: 39.53 kB / 1.056 GB, free: 73.54 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003065/0.6511, allocations: 410 kB / 1.056 GB, free: 73.41 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6511, allocations: 0 / 1.056 GB, free: 73.41 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007132/0.6518, allocations: 373.9 kB / 1.057 GB, free: 73.41 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.001139/0.653, allocations: 0.6574 MB / 1.057 GB, free: 73.27 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009572/0.6539, allocations: 0.7467 MB / 1.058 GB, free: 73.07 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6539, allocations: 3.469 kB / 1.058 GB, free: 73.07 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004493/0.6544, allocations: 0.521 MB / 1.059 GB, free: 72.89 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.6551, allocations: 324.1 kB / 1.059 GB, free: 72.87 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.6572, allocations: 1.651 MB / 1.061 GB, free: 72.14 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.6573, allocations: 206 kB / 1.061 GB, free: 72.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004351/0.6577, allocations: 272.8 kB / 1.061 GB, free: 72.04 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.6579, allocations: 124.1 kB / 1.061 GB, free: 72.04 MB / 1.01 GB Notification: Performance of SimCode: time 5.71e-07/0.6579, allocations: 0 / 1.061 GB, free: 72.04 MB / 1.01 GB Notification: Performance of Templates: time 0.01688/0.6748, allocations: 16.9 MB / 1.078 GB, free: 70.52 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.5402398351579905]