Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.0009027/0.0009027, allocations: 93.06 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.0008907/0.0008907, allocations: 169 kB / 23.02 MB, free: 1.543 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.915/0.915, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.016/2.016, allocations: 429.5 MB / 0.6733 GB, free: 4.059 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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.137e-05, allocations: 6.141 kB / 0.8782 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007501/0.007532, allocations: 4.687 MB / 0.8827 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1295/0.137, allocations: 146.5 MB / 1.026 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007273/0.1377, allocations: 23.81 kB / 1.026 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.1383, allocations: 194.2 kB / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.1396, allocations: 0.5824 MB / 1.027 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1411, allocations: 0.8647 MB / 1.027 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.1423, allocations: 1.448 MB / 1.029 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005538/0.1428, allocations: 386.6 kB / 1.029 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008637/0.1437, allocations: 0.7717 MB / 1.03 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.1441, allocations: 370.9 kB / 1.03 GB, free: 9.949 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.1442, allocations: 115.9 kB / 1.03 GB, free: 9.836 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007734/0.145, allocations: 491.4 kB / 1.031 GB, free: 9.355 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.1452, allocations: 295 kB / 1.031 GB, free: 9.066 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.1454, allocations: 371 kB / 1.032 GB, free: 8.703 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.1467, allocations: 1.226 MB / 1.033 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1467, allocations: 0 / 1.033 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1467, allocations: 0 / 1.033 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.1467, allocations: 0 / 1.033 GB, free: 7.473 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001532/0.1482, allocations: 1.5 MB / 1.034 GB, free: 5.926 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1483, allocations: 12.03 kB / 1.034 GB, free: 5.914 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008852/0.1491, allocations: 323.5 kB / 1.035 GB, free: 5.598 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007384/0.1499, allocations: 0.7026 MB / 1.035 GB, free: 4.871 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.1499, allocations: 70.11 kB / 1.035 GB, free: 4.805 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/0.15, allocations: 92 kB / 1.035 GB, free: 4.715 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.1509, allocations: 0.9322 MB / 1.036 GB, free: 3.684 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1509, allocations: 0 / 1.036 GB, free: 3.684 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.151, allocations: 35.98 kB / 1.036 GB, free: 3.648 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.151, allocations: 20 kB / 1.036 GB, free: 3.629 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007983/0.1518, allocations: 0.7841 MB / 1.037 GB, free: 2.844 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.1541, allocations: 2.27 MB / 1.039 GB, free: 0.5078 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007484/0.1549, allocations: 0.4983 MB / 1.04 GB, free: 15.99 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.1551, allocations: 187.2 kB / 1.04 GB, free: 15.81 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-05/0.1552, allocations: 32.62 kB / 1.04 GB, free: 15.78 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004646/0.1556, allocations: 494.5 kB / 1.04 GB, free: 15.25 MB / 1.01 GB Notification: Performance of pre-optimization done (n=87): time 3.036e-06/0.1556, allocations: 0 / 1.04 GB, free: 15.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=87): time 0.001627/0.1573, allocations: 0.847 MB / 1.041 GB, free: 14.39 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.1573, allocations: 204.8 kB / 1.042 GB, free: 14.15 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004454/0.1578, allocations: 0.5621 MB / 1.042 GB, free: 13.58 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.1578, allocations: 49.7 kB / 1.042 GB, free: 13.52 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.1581, allocations: 451.9 kB / 1.043 GB, free: 13.07 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.1582, allocations: 289.6 kB / 1.043 GB, free: 12.79 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.1584, allocations: 184.2 kB / 1.043 GB, free: 12.6 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.1585, allocations: 0.5586 MB / 1.044 GB, free: 12.03 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.1587, allocations: 145.9 kB / 1.044 GB, free: 11.89 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1591, allocations: 377.8 kB / 1.044 GB, free: 11.47 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.1596, allocations: 395.1 kB / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1596, allocations: 7.984 kB / 1.044 GB, free: 11.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.000976/0.1605, allocations: 0.6762 MB / 1.045 GB, free: 10.37 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1606, allocations: 4 kB / 1.045 GB, free: 10.37 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1606, allocations: 0 / 1.045 GB, free: 10.37 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004644/0.161, allocations: 131.6 kB / 1.045 GB, free: 10.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.1614, allocations: 179.7 kB / 1.045 GB, free: 10.06 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.1628, allocations: 1.905 MB / 1.047 GB, free: 8.023 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.1631, allocations: 78.16 kB / 1.047 GB, free: 7.949 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.1632, allocations: 39.97 kB / 1.047 GB, free: 7.91 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: 27 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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.0002334/0.1634, allocations: 215 kB / 1.048 GB, free: 7.688 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.1635, allocations: 119.4 kB / 1.048 GB, free: 7.57 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.1647, allocations: 0.838 MB / 1.049 GB, free: 6.719 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1647, allocations: 16 kB / 1.049 GB, free: 6.703 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1647, allocations: 0 / 1.049 GB, free: 6.703 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1647, allocations: 7.969 kB / 1.049 GB, free: 6.695 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.1665, allocations: 1.612 MB / 1.05 GB, free: 5.027 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1665, allocations: 0 / 1.05 GB, free: 5.027 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.1668, allocations: 143.8 kB / 1.05 GB, free: 4.887 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003455/0.1672, allocations: 111.6 kB / 1.05 GB, free: 4.773 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.1672, allocations: 27.97 kB / 1.05 GB, free: 4.746 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.1683, allocations: 1.926 MB / 1.052 GB, free: 2.691 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1683, allocations: 4.031 kB / 1.052 GB, free: 2.688 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.1693, allocations: 0.8727 MB / 1.053 GB, free: 1.793 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.1696, allocations: 191.1 kB / 1.053 GB, free: 1.605 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.1697, allocations: 27.98 kB / 1.053 GB, free: 1.578 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.1699, allocations: 39.97 kB / 1.053 GB, free: 1.539 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.17, allocations: 76.81 kB / 1.053 GB, free: 1.461 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.17, allocations: 31.97 kB / 1.053 GB, free: 1.43 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002872/0.1703, allocations: 379 kB / 1.054 GB, free: 1.066 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1703, allocations: 0 / 1.054 GB, free: 1.066 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006497/0.171, allocations: 335.1 kB / 1.054 GB, free: 0.7383 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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: 10 (weaDat.conTim.tNext,weaDat.eqnTim.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001201/0.1722, allocations: 0.625 MB / 1.055 GB, free: 292 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.419/0.5912, allocations: 0.6745 MB / 1.055 GB, free: 71.05 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5912, allocations: 0 / 1.055 GB, free: 71.05 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.5918, allocations: 479.5 kB / 1.056 GB, free: 70.87 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.5926, allocations: 314.3 kB / 1.056 GB, free: 70.87 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.5948, allocations: 1.5 MB / 1.058 GB, free: 70.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.5949, allocations: 193 kB / 1.058 GB, free: 70.12 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000484/0.5954, allocations: 256.4 kB / 1.058 GB, free: 70.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.5956, allocations: 110.5 kB / 1.058 GB, free: 70.1 MB / 1.01 GB Notification: Performance of SimCode: time 2.023e-06/0.5956, allocations: 0 / 1.058 GB, free: 70.1 MB / 1.01 GB Notification: Performance of Templates: time 0.01938/0.615, allocations: 16.39 MB / 1.074 GB, free: 68.73 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.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.234422927722335]