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.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.001312/0.001312, 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.001553/0.001553, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.009/1.009, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.079/2.079, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8781 GB, free: 6.172 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.855e-05, allocations: 3.562 kB / 0.8781 GB, free: 6.168 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005514/0.005542, allocations: 4.831 MB / 0.8829 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1417/0.1472, allocations: 146.6 MB / 1.026 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000882/0.1481, allocations: 23.81 kB / 1.026 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.1487, allocations: 202.1 kB / 1.026 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.1503, allocations: 0.5864 MB / 1.027 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.152, allocations: 0.8918 MB / 1.028 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.1534, allocations: 1.526 MB / 1.029 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006324/0.154, allocations: 398.2 kB / 1.03 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.1551, allocations: 0.7796 MB / 1.03 GB, free: 9.777 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.1557, allocations: 438.7 kB / 1.031 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.1559, allocations: 128 kB / 1.031 GB, free: 9.223 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009044/0.1568, allocations: 0.4915 MB / 1.031 GB, free: 8.73 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.157, allocations: 322.9 kB / 1.032 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003693/0.1574, allocations: 418.9 kB / 1.032 GB, free: 8.004 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.159, allocations: 1.312 MB / 1.033 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.159, allocations: 0 / 1.033 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.083e-06/0.159, allocations: 0 / 1.033 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.159, allocations: 0 / 1.033 GB, free: 6.688 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.001857/0.1609, allocations: 1.576 MB / 1.035 GB, free: 5.062 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1609, allocations: 8.031 kB / 1.035 GB, free: 5.055 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000992/0.1619, allocations: 359.4 kB / 1.035 GB, free: 4.703 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008319/0.1627, allocations: 0.7364 MB / 1.036 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/0.1628, allocations: 78.11 kB / 1.036 GB, free: 3.867 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-05/0.1629, allocations: 92 kB / 1.036 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.1639, allocations: 1.044 MB / 1.037 GB, free: 2.613 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1639, allocations: 3.984 kB / 1.037 GB, free: 2.609 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.164, allocations: 36 kB / 1.037 GB, free: 2.574 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.164, allocations: 20 kB / 1.037 GB, free: 2.555 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008861/0.1649, allocations: 0.8075 MB / 1.038 GB, free: 1.746 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.1675, allocations: 2.391 MB / 1.04 GB, free: 15.29 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008506/0.1684, allocations: 0.5467 MB / 1.041 GB, free: 14.73 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.1686, allocations: 196.8 kB / 1.041 GB, free: 14.54 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.1687, allocations: 28.98 kB / 1.041 GB, free: 14.51 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005421/0.1692, allocations: 0.5262 MB / 1.042 GB, free: 13.94 MB / 1.01 GB Notification: Performance of pre-optimization done (n=95): time 2.084e-06/0.1692, allocations: 3.938 kB / 1.042 GB, free: 13.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=95): time 0.001671/0.1709, allocations: 0.9055 MB / 1.042 GB, free: 13.02 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.171, allocations: 208.8 kB / 1.043 GB, free: 12.77 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.1715, allocations: 0.601 MB / 1.043 GB, free: 12.16 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.1716, allocations: 53.69 kB / 1.043 GB, free: 12.1 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.1718, allocations: 456.1 kB / 1.044 GB, free: 11.65 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.172, allocations: 317.3 kB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.1722, allocations: 204.2 kB / 1.044 GB, free: 11.13 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002916/0.1725, allocations: 0.5586 MB / 1.045 GB, free: 10.56 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.1727, allocations: 161.9 kB / 1.045 GB, free: 10.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.1731, allocations: 405.5 kB / 1.045 GB, free: 9.949 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.1737, allocations: 442.8 kB / 1.046 GB, free: 9.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1737, allocations: 3.984 kB / 1.046 GB, free: 9.496 MB / 1.01 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001099/0.1748, allocations: 0.7386 MB / 1.046 GB, free: 8.746 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1748, allocations: 4 kB / 1.046 GB, free: 8.742 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1748, allocations: 0 / 1.046 GB, free: 8.742 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004839/0.1753, allocations: 123.7 kB / 1.047 GB, free: 8.617 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.1757, allocations: 199.7 kB / 1.047 GB, free: 8.422 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.1774, allocations: 1.906 MB / 1.049 GB, free: 6.387 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.1778, allocations: 92.66 kB / 1.049 GB, free: 6.301 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.1778, allocations: 43.97 kB / 1.049 GB, free: 6.258 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (117): * Single equations (assignments): 116 * 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.0002201/0.178, allocations: 223 kB / 1.049 GB, free: 6.031 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.1782, allocations: 119.4 kB / 1.049 GB, free: 5.914 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.1794, allocations: 0.9242 MB / 1.05 GB, free: 4.969 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1794, allocations: 8 kB / 1.05 GB, free: 4.961 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1794, allocations: 4 kB / 1.05 GB, free: 4.957 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.1795, allocations: 7.984 kB / 1.05 GB, free: 4.949 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.1815, allocations: 1.779 MB / 1.052 GB, free: 3.105 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1815, allocations: 4 kB / 1.052 GB, free: 3.102 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.1818, allocations: 151.8 kB / 1.052 GB, free: 2.953 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/0.1822, allocations: 123.5 kB / 1.052 GB, free: 2.828 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.1822, allocations: 27.92 kB / 1.052 GB, free: 2.801 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.1833, allocations: 1.922 MB / 1.054 GB, free: 0.7539 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1833, allocations: 0 / 1.054 GB, free: 0.7539 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4595/0.6428, allocations: 0.9469 MB / 1.055 GB, free: 70.14 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/0.6433, allocations: 204.8 kB / 1.055 GB, free: 70.14 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6434, allocations: 27.78 kB / 1.055 GB, free: 70.14 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.6437, allocations: 48.45 kB / 1.055 GB, free: 70.14 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.6438, allocations: 88.25 kB / 1.055 GB, free: 70.14 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.6439, allocations: 38.08 kB / 1.055 GB, free: 70.14 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003075/0.6442, allocations: 399.5 kB / 1.056 GB, free: 70 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6442, allocations: 0 / 1.056 GB, free: 70 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006988/0.6449, allocations: 360.4 kB / 1.056 GB, free: 70 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 (109): * Single equations (assignments): 96 * 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.001113/0.646, allocations: 0.6354 MB / 1.057 GB, free: 69.86 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000878/0.6469, allocations: 0.7191 MB / 1.057 GB, free: 69.68 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6469, allocations: 0.5 kB / 1.057 GB, free: 69.68 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.6473, allocations: 0.5025 MB / 1.058 GB, free: 69.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.648, allocations: 326.5 kB / 1.058 GB, free: 69.48 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.65, allocations: 1.605 MB / 1.06 GB, free: 68.77 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.586e-05/0.6501, allocations: 205.6 kB / 1.06 GB, free: 68.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004016/0.6505, allocations: 266.3 kB / 1.06 GB, free: 68.66 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.6507, allocations: 119.3 kB / 1.06 GB, free: 68.66 MB / 1.01 GB Notification: Performance of SimCode: time 4.61e-07/0.6507, allocations: 0 / 1.06 GB, free: 68.66 MB / 1.01 GB Notification: Performance of Templates: time 0.01605/0.6667, allocations: 16.41 MB / 1.076 GB, free: 67.21 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.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.61959737399593]