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.0007885/0.0007885, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000803/0.000803, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8888/0.8888, allocations: 177.1 MB / 203.5 MB, free: 5.738 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 1.754/1.754, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 1.844e-06/1.844e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.06e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006779/0.006809, allocations: 4.351 MB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6067/0.6135, allocations: 132.7 MB / 1.135 GB, free: 15.02 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006608/0.6141, allocations: 23.88 kB / 1.135 GB, free: 15 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.6147, allocations: 197.7 kB / 1.135 GB, free: 14.87 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.616, allocations: 0.5716 MB / 1.136 GB, free: 14.54 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.6174, allocations: 0.8671 MB / 1.136 GB, free: 14.09 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.6185, allocations: 1.452 MB / 1.138 GB, free: 13.32 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.619, allocations: 388.9 kB / 1.138 GB, free: 13.1 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006827/0.6197, allocations: 0.7399 MB / 1.139 GB, free: 12.74 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.6201, allocations: 395.3 kB / 1.139 GB, free: 12.6 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.6203, allocations: 125.2 kB / 1.139 GB, free: 12.59 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006423/0.6209, allocations: 0.4889 MB / 1.14 GB, free: 12.48 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.6211, allocations: 308.7 kB / 1.14 GB, free: 12.29 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.6214, allocations: 392.6 kB / 1.141 GB, free: 12.09 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.623, allocations: 1.785 MB / 1.142 GB, free: 11.34 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.623, allocations: 1.062 kB / 1.142 GB, free: 11.34 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.573e-06/0.623, allocations: 0 / 1.142 GB, free: 11.34 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.623, allocations: 0 / 1.142 GB, free: 11.34 MB / 1.01 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.001692/0.6247, allocations: 1.413 MB / 1.144 GB, free: 10.41 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.6248, allocations: 10.41 kB / 1.144 GB, free: 10.41 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007742/0.6255, allocations: 236.7 kB / 1.144 GB, free: 10.34 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009148/0.6264, allocations: 0.7121 MB / 1.145 GB, free: 9.898 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.6265, allocations: 63.38 kB / 1.145 GB, free: 9.871 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-05/0.6266, allocations: 93.08 kB / 1.145 GB, free: 9.836 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.6279, allocations: 1.175 MB / 1.146 GB, free: 9.102 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.6279, allocations: 0.875 kB / 1.146 GB, free: 9.102 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.6279, allocations: 37.58 kB / 1.146 GB, free: 9.074 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.6279, allocations: 20.5 kB / 1.146 GB, free: 9.074 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.6292, allocations: 1.053 MB / 1.147 GB, free: 8.82 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.6319, allocations: 2.21 MB / 1.149 GB, free: 7.523 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.633, allocations: 0.7831 MB / 1.15 GB, free: 7.227 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.6333, allocations: 299.6 kB / 1.15 GB, free: 7.109 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.516e-05/0.6334, allocations: 25.11 kB / 1.15 GB, free: 7.102 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006594/0.6341, allocations: 0.6046 MB / 1.151 GB, free: 6.77 MB / 1.01 GB Notification: Performance of pre-optimization done (n=87): time 2.044e-06/0.6341, allocations: 0 / 1.151 GB, free: 6.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=87): time 0.001996/0.6361, allocations: 1.165 MB / 1.152 GB, free: 6.344 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.6361, allocations: 204.3 kB / 1.152 GB, free: 6.117 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005746/0.6367, allocations: 0.6007 MB / 1.153 GB, free: 5.844 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.6368, allocations: 48.23 kB / 1.153 GB, free: 5.797 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.637, allocations: 405.1 kB / 1.153 GB, free: 5.48 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.6372, allocations: 285.9 kB / 1.153 GB, free: 5.254 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.6374, allocations: 175.4 kB / 1.154 GB, free: 5.176 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6375, allocations: 389.6 kB / 1.154 GB, free: 4.828 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/0.6379, allocations: 287.4 kB / 1.154 GB, free: 4.727 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.6384, allocations: 0.5103 MB / 1.155 GB, free: 4.402 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.6392, allocations: 0.6425 MB / 1.155 GB, free: 4.105 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.6392, allocations: 0 / 1.155 GB, free: 4.105 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001292/0.6405, allocations: 0.9135 MB / 1.156 GB, free: 3.734 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.6405, allocations: 5.938 kB / 1.156 GB, free: 3.734 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.6405, allocations: 2 kB / 1.156 GB, free: 3.734 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.6408, allocations: 83.23 kB / 1.156 GB, free: 3.715 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.6412, allocations: 169.4 kB / 1.156 GB, free: 3.695 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.6425, allocations: 1.504 MB / 1.158 GB, free: 2.328 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.6429, allocations: 88.31 kB / 1.158 GB, free: 2.285 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/0.6429, allocations: 44.94 kB / 1.158 GB, free: 2.273 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.000284/0.6432, allocations: 280 kB / 1.158 GB, free: 2.062 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.6433, allocations: 88.11 kB / 1.158 GB, free: 2.016 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.6449, allocations: 1.075 MB / 1.159 GB, free: 1.59 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6449, allocations: 10.5 kB / 1.159 GB, free: 1.59 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.6449, allocations: 0 / 1.159 GB, free: 1.59 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.6449, allocations: 4.734 kB / 1.159 GB, free: 1.59 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.6473, allocations: 1.871 MB / 1.161 GB, free: 0.6758 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6473, allocations: 0.6562 kB / 1.161 GB, free: 0.6758 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.6476, allocations: 144.9 kB / 1.161 GB, free: 0.6641 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002214/0.6478, allocations: 74.36 kB / 1.162 GB, free: 0.6445 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.321e-05/0.6479, allocations: 24.52 kB / 1.162 GB, free: 0.6328 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.649, allocations: 1.53 MB / 1.163 GB, free: 15.25 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.649, allocations: 1.562 kB / 1.163 GB, free: 15.25 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.6502, allocations: 1.02 MB / 1.164 GB, free: 14.78 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.6505, allocations: 197.3 kB / 1.164 GB, free: 14.67 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.6506, allocations: 25.25 kB / 1.164 GB, free: 14.65 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.6509, allocations: 70.5 kB / 1.164 GB, free: 14.63 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.651, allocations: 76.19 kB / 1.164 GB, free: 14.62 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.6511, allocations: 37.53 kB / 1.164 GB, free: 14.61 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0003958/0.6515, allocations: 429.2 kB / 1.165 GB, free: 14.43 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.6515, allocations: 0 / 1.165 GB, free: 14.43 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007579/0.6522, allocations: 332.9 kB / 1.165 GB, free: 14.34 MB / 1.026 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.001087/0.6533, allocations: 0.6697 MB / 1.166 GB, free: 14.07 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.6545, allocations: 0.8396 MB / 1.167 GB, free: 13.73 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6546, allocations: 1.438 kB / 1.167 GB, free: 13.73 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0005786/0.6551, allocations: 0.4931 MB / 1.167 GB, free: 13.49 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/0.6559, allocations: 285.6 kB / 1.167 GB, free: 13.4 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.6581, allocations: 1.709 MB / 1.169 GB, free: 12.49 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.6584, allocations: 437.9 kB / 1.169 GB, free: 12.35 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.6587, allocations: 116.3 kB / 1.17 GB, free: 12.33 MB / 1.026 GB Notification: Performance of SimCode: time 1.613e-06/0.6587, allocations: 1.031 kB / 1.17 GB, free: 12.33 MB / 1.026 GB Notification: Performance of Templates: time 0.01802/0.6767, allocations: 19.13 MB / 1.188 GB, free: 6.098 MB / 1.026 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.786384353414178]