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.0009697/0.0009697, allocations: 92.22 kB / 19.65 MB, free: 280 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.0009776/0.0009776, 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 0.9885/0.9885, allocations: 177.1 MB / 203.4 MB, free: 5.25 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.136/2.136, allocations: 429.5 MB / 0.6732 GB, free: 4.016 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.285e-06/2.285e-06, allocations: 0 / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.533e-05, allocations: 8.984 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007802/0.007837, allocations: 4.683 MB / 0.8827 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1633/0.1712, allocations: 146.5 MB / 1.026 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009175/0.1721, allocations: 19.88 kB / 1.026 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006556/0.1727, allocations: 198.1 kB / 1.026 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.1744, allocations: 0.5708 MB / 1.027 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.1763, allocations: 0.8569 MB / 1.027 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001654/0.178, allocations: 1.452 MB / 1.029 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007432/0.1787, allocations: 394.4 kB / 1.029 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.1799, allocations: 0.7367 MB / 1.03 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.1805, allocations: 402.8 kB / 1.03 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.1806, allocations: 128 kB / 1.03 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1817, allocations: 499.4 kB / 1.031 GB, free: 9.316 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.1819, allocations: 310.9 kB / 1.031 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.1822, allocations: 383 kB / 1.032 GB, free: 8.637 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.1837, allocations: 1.265 MB / 1.033 GB, free: 7.367 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1837, allocations: 3.938 kB / 1.033 GB, free: 7.363 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1837, allocations: 0 / 1.033 GB, free: 7.363 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.1837, allocations: 0 / 1.033 GB, free: 7.363 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.001779/0.1855, allocations: 1.504 MB / 1.034 GB, free: 5.812 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1855, allocations: 16.03 kB / 1.034 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009374/0.1864, allocations: 319.6 kB / 1.035 GB, free: 5.484 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008448/0.1873, allocations: 0.7084 MB / 1.035 GB, free: 4.754 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.1873, allocations: 78.11 kB / 1.035 GB, free: 4.676 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/0.1874, allocations: 92 kB / 1.035 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009904/0.1884, allocations: 1.005 MB / 1.036 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.1884, allocations: 0 / 1.036 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.1885, allocations: 32 kB / 1.036 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.1885, allocations: 24 kB / 1.037 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008702/0.1894, allocations: 0.788 MB / 1.037 GB, free: 2.617 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.1919, allocations: 2.312 MB / 1.04 GB, free: 252 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.1926, allocations: 0.51 MB / 1.04 GB, free: 15.72 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.1929, allocations: 165.6 kB / 1.04 GB, free: 15.56 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.619e-05/0.1929, allocations: 36.62 kB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004893/0.1934, allocations: 0.4924 MB / 1.041 GB, free: 14.98 MB / 1.01 GB Notification: Performance of pre-optimization done (n=87): time 1.794e-06/0.1934, allocations: 0 / 1.041 GB, free: 14.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=87): time 0.001544/0.1949, allocations: 0.8508 MB / 1.042 GB, free: 14.12 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.195, allocations: 200.9 kB / 1.042 GB, free: 13.89 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.1955, allocations: 0.5776 MB / 1.042 GB, free: 13.3 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.1956, allocations: 49.7 kB / 1.042 GB, free: 13.24 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.1958, allocations: 447.9 kB / 1.043 GB, free: 12.8 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.196, allocations: 289.5 kB / 1.043 GB, free: 12.51 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.1961, allocations: 192.2 kB / 1.043 GB, free: 12.32 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.1963, allocations: 0.5586 MB / 1.044 GB, free: 11.75 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.1966, allocations: 141.9 kB / 1.044 GB, free: 11.61 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.197, allocations: 385.7 kB / 1.044 GB, free: 11.18 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.1976, allocations: 395.1 kB / 1.045 GB, free: 10.78 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1976, allocations: 0 / 1.045 GB, free: 10.78 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001034/0.1987, allocations: 0.684 MB / 1.045 GB, free: 10.08 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1987, allocations: 7.938 kB / 1.045 GB, free: 10.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1987, allocations: 0 / 1.045 GB, free: 10.07 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000482/0.1992, allocations: 135.6 kB / 1.045 GB, free: 9.938 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.1995, allocations: 175.8 kB / 1.046 GB, free: 9.766 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.201, allocations: 1.909 MB / 1.047 GB, free: 7.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.2013, allocations: 78.03 kB / 1.048 GB, free: 7.656 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.2014, allocations: 44 kB / 1.048 GB, free: 7.613 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.000231/0.2016, allocations: 219.2 kB / 1.048 GB, free: 7.387 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.2017, allocations: 115.4 kB / 1.048 GB, free: 7.273 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.2029, allocations: 0.838 MB / 1.049 GB, free: 6.418 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.2029, allocations: 8 kB / 1.049 GB, free: 6.41 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2029, allocations: 4 kB / 1.049 GB, free: 6.406 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.2029, allocations: 3.984 kB / 1.049 GB, free: 6.402 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.2048, allocations: 1.643 MB / 1.05 GB, free: 4.707 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2048, allocations: 0 / 1.05 GB, free: 4.707 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.2051, allocations: 143.8 kB / 1.051 GB, free: 4.566 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003475/0.2054, allocations: 111.6 kB / 1.051 GB, free: 4.453 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.2055, allocations: 27.98 kB / 1.051 GB, free: 4.426 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.2066, allocations: 1.918 MB / 1.053 GB, free: 2.379 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2066, allocations: 0 / 1.053 GB, free: 2.379 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009848/0.2076, allocations: 0.8766 MB / 1.053 GB, free: 1.48 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.2079, allocations: 207.1 kB / 1.054 GB, free: 1.277 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/0.2079, allocations: 24.05 kB / 1.054 GB, free: 1.254 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.2082, allocations: 47.97 kB / 1.054 GB, free: 1.207 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2083, allocations: 72.8 kB / 1.054 GB, free: 1.133 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.2083, allocations: 39.97 kB / 1.054 GB, free: 1.094 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002965/0.2086, allocations: 390.9 kB / 1.054 GB, free: 0.7148 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.2086, allocations: 0 / 1.054 GB, free: 0.7148 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006483/0.2093, allocations: 343.1 kB / 1.054 GB, free: 388 kB / 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.3747/0.584, allocations: 0.6125 MB / 1.055 GB, free: 74.45 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.5851, allocations: 0.6772 MB / 1.056 GB, free: 74.26 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5851, allocations: 2.656 kB / 1.056 GB, free: 74.26 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004456/0.5856, allocations: 481.8 kB / 1.056 GB, free: 74.08 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008515/0.5864, allocations: 324.4 kB / 1.056 GB, free: 74.08 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.5886, allocations: 1.505 MB / 1.058 GB, free: 73.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.5887, allocations: 193.2 kB / 1.058 GB, free: 73.32 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004548/0.5892, allocations: 256.6 kB / 1.058 GB, free: 73.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.5894, allocations: 112.2 kB / 1.058 GB, free: 73.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.893e-06/0.5894, allocations: 0.8438 kB / 1.058 GB, free: 73.3 MB / 1.01 GB Notification: Performance of Templates: time 0.01712/0.6065, allocations: 15.67 MB / 1.074 GB, free: 71.98 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.619611078873277]