Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001071/0.001071, 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.001028/0.001028, allocations: 165 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.004/1.004, 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.179/2.179, allocations: 429.5 MB / 0.6733 GB, free: 4.047 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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.8781 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.696e-05, allocations: 5.719 kB / 0.8781 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006037/0.006054, allocations: 4.804 MB / 0.8828 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1417/0.1477, allocations: 146.6 MB / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008535/0.1486, allocations: 23.81 kB / 1.026 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.1491, allocations: 202.1 kB / 1.026 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.1506, allocations: 0.5825 MB / 1.027 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1521, allocations: 0.888 MB / 1.028 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.1535, allocations: 1.518 MB / 1.029 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008375/0.1544, allocations: 401.8 kB / 1.03 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.1557, allocations: 0.7758 MB / 1.03 GB, free: 9.977 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007114/0.1564, allocations: 430.8 kB / 1.031 GB, free: 9.555 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.1567, allocations: 124 kB / 1.031 GB, free: 9.434 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.1577, allocations: 0.4993 MB / 1.031 GB, free: 8.934 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.158, allocations: 326.9 kB / 1.032 GB, free: 8.613 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004435/0.1585, allocations: 411 kB / 1.032 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.1604, allocations: 1.304 MB / 1.033 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1604, allocations: 0 / 1.033 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1604, allocations: 0 / 1.033 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.277e-05/0.1605, allocations: 7.938 kB / 1.033 GB, free: 6.895 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002577/0.163, allocations: 1.564 MB / 1.035 GB, free: 5.281 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.1631, allocations: 12.03 kB / 1.035 GB, free: 5.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.1647, allocations: 355.4 kB / 1.035 GB, free: 4.922 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.1659, allocations: 0.7441 MB / 1.036 GB, free: 4.152 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.008e-05/0.166, allocations: 74.11 kB / 1.036 GB, free: 4.082 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.1661, allocations: 92 kB / 1.036 GB, free: 3.992 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.1677, allocations: 1.04 MB / 1.037 GB, free: 2.832 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.1678, allocations: 0 / 1.037 GB, free: 2.832 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.705e-05/0.1679, allocations: 39.98 kB / 1.037 GB, free: 2.793 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.1679, allocations: 24 kB / 1.037 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.1693, allocations: 0.8036 MB / 1.038 GB, free: 1.965 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/0.173, allocations: 2.38 MB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008784/0.1739, allocations: 0.5462 MB / 1.041 GB, free: 14.96 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.1742, allocations: 193.1 kB / 1.041 GB, free: 14.78 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.1743, allocations: 32.98 kB / 1.041 GB, free: 14.74 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/0.1748, allocations: 0.5261 MB / 1.041 GB, free: 14.17 MB / 1.01 GB Notification: Performance of pre-optimization done (n=94): time 2.104e-06/0.1748, allocations: 0 / 1.041 GB, free: 14.17 MB / 1.01 GB Notification: Performance of matching and sorting (n=94): time 0.001642/0.1765, allocations: 0.9055 MB / 1.042 GB, free: 13.25 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.1765, allocations: 200.9 kB / 1.043 GB, free: 13.02 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.177, allocations: 0.5971 MB / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.1771, allocations: 49.7 kB / 1.043 GB, free: 12.35 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.1773, allocations: 460 kB / 1.044 GB, free: 11.89 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.1774, allocations: 313.4 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.1776, allocations: 196.2 kB / 1.044 GB, free: 11.39 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1778, allocations: 0.5664 MB / 1.045 GB, free: 10.81 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.178, allocations: 149.9 kB / 1.045 GB, free: 10.66 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.1784, allocations: 409.7 kB / 1.045 GB, free: 10.21 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.179, allocations: 423.1 kB / 1.046 GB, free: 9.785 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.179, allocations: 0 / 1.046 GB, free: 9.785 MB / 1.01 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00106/0.18, allocations: 0.7269 MB / 1.046 GB, free: 9.047 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.18, allocations: 12.09 kB / 1.046 GB, free: 9.035 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.18, allocations: 0 / 1.046 GB, free: 9.035 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/0.1805, allocations: 127.5 kB / 1.046 GB, free: 8.906 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.181, allocations: 191.7 kB / 1.047 GB, free: 8.719 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.1823, allocations: 1.909 MB / 1.048 GB, free: 6.68 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.1827, allocations: 87.05 kB / 1.049 GB, free: 6.598 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-05/0.1828, allocations: 39.97 kB / 1.049 GB, free: 6.559 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: 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 (115): * Single equations (assignments): 114 * 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.0002062/0.183, allocations: 219 kB / 1.049 GB, free: 6.336 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.1832, allocations: 123.5 kB / 1.049 GB, free: 6.215 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.1844, allocations: 0.9242 MB / 1.05 GB, free: 5.27 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.1844, allocations: 15.98 kB / 1.05 GB, free: 5.254 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1844, allocations: 0 / 1.05 GB, free: 5.254 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1845, allocations: 3.984 kB / 1.05 GB, free: 5.25 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.1865, allocations: 1.775 MB / 1.052 GB, free: 3.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1865, allocations: 0 / 1.052 GB, free: 3.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.1868, allocations: 159.7 kB / 1.052 GB, free: 3.254 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.1872, allocations: 123.5 kB / 1.052 GB, free: 3.129 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.1872, allocations: 27.98 kB / 1.052 GB, free: 3.102 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.1883, allocations: 1.915 MB / 1.054 GB, free: 1.062 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1883, allocations: 4 kB / 1.054 GB, free: 1.059 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.1894, allocations: 0.9429 MB / 1.055 GB, free: 92 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4818/0.6712, allocations: 206.8 kB / 1.055 GB, free: 73.89 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.6714, allocations: 28.77 kB / 1.055 GB, free: 73.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.6718, allocations: 49.53 kB / 1.055 GB, free: 73.89 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.672, allocations: 81.66 kB / 1.055 GB, free: 73.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.672, allocations: 37.7 kB / 1.055 GB, free: 73.89 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003359/0.6723, allocations: 400.4 kB / 1.055 GB, free: 73.75 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6723, allocations: 0.75 kB / 1.055 GB, free: 73.75 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007544/0.6731, allocations: 353.3 kB / 1.056 GB, free: 73.75 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 (108): * Single equations (assignments): 95 * 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.001218/0.6743, allocations: 0.6188 MB / 1.056 GB, free: 73.62 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.6753, allocations: 0.7186 MB / 1.057 GB, free: 73.44 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6753, allocations: 2.688 kB / 1.057 GB, free: 73.44 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.6758, allocations: 0.5006 MB / 1.058 GB, free: 73.26 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.6765, allocations: 334.9 kB / 1.058 GB, free: 73.24 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.6788, allocations: 1.592 MB / 1.059 GB, free: 72.54 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.6789, allocations: 203.4 kB / 1.06 GB, free: 72.46 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004811/0.6793, allocations: 267.1 kB / 1.06 GB, free: 72.43 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.6796, allocations: 120.9 kB / 1.06 GB, free: 72.43 MB / 1.01 GB Notification: Performance of SimCode: time 7.61e-07/0.6796, allocations: 0 / 1.06 GB, free: 72.43 MB / 1.01 GB Notification: Performance of Templates: time 0.01825/0.6978, allocations: 16.41 MB / 1.076 GB, free: 70.98 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.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.6022777133621275]