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.000951/0.000951, allocations: 85.91 kB / 19.87 MB, free: 4.625 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.001047/0.001047, allocations: 169.7 kB / 23.27 MB, free: 1.23 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.896/0.896, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.333/2.333, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.593e-06/1.593e-06, allocations: 0 / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.353e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005081/0.005105, allocations: 4.7 MB / 0.8943 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1212/0.1263, allocations: 143.9 MB / 1.035 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007412/0.1271, allocations: 23.81 kB / 1.035 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.1276, allocations: 206.1 kB / 1.035 GB, free: 4.398 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.1289, allocations: 0.5862 MB / 1.036 GB, free: 3.809 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.1303, allocations: 0.888 MB / 1.036 GB, free: 2.918 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.1314, allocations: 1.514 MB / 1.038 GB, free: 1.395 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007685/0.1321, allocations: 402 kB / 1.038 GB, free: 0.9805 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.1329, allocations: 0.8107 MB / 1.039 GB, free: 172 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.1332, allocations: 406.8 kB / 1.04 GB, free: 15.77 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.1334, allocations: 116 kB / 1.04 GB, free: 15.66 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007383/0.1341, allocations: 487.4 kB / 1.04 GB, free: 15.18 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.1343, allocations: 310.9 kB / 1.04 GB, free: 14.88 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.1345, allocations: 391 kB / 1.041 GB, free: 14.49 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.1357, allocations: 1.28 MB / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1357, allocations: 0 / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.522e-06/0.1357, allocations: 0 / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.1357, allocations: 0 / 1.042 GB, free: 13.21 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001508/0.1372, allocations: 1.564 MB / 1.044 GB, free: 11.6 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1372, allocations: 8.031 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009084/0.1381, allocations: 355.4 kB / 1.044 GB, free: 11.24 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006944/0.1388, allocations: 0.7266 MB / 1.045 GB, free: 10.49 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.1389, allocations: 74.12 kB / 1.045 GB, free: 10.42 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/0.139, allocations: 95.98 kB / 1.045 GB, free: 10.32 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.14, allocations: 0.9046 MB / 1.046 GB, free: 9.324 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.14, allocations: 0 / 1.046 GB, free: 9.324 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.1401, allocations: 40 kB / 1.046 GB, free: 9.285 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.1401, allocations: 20 kB / 1.046 GB, free: 9.266 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006293/0.1407, allocations: 0.6884 MB / 1.046 GB, free: 8.574 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.1429, allocations: 2.232 MB / 1.049 GB, free: 6.289 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.1435, allocations: 495.4 kB / 1.049 GB, free: 5.793 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1436, allocations: 177.6 kB / 1.049 GB, free: 5.613 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.629e-05/0.1437, allocations: 52.77 kB / 1.049 GB, free: 5.562 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.1441, allocations: 0.4929 MB / 1.05 GB, free: 5.027 MB / 1.01 GB Notification: Performance of pre-optimization done (n=94): time 2.906e-06/0.1441, allocations: 0 / 1.05 GB, free: 5.027 MB / 1.01 GB Notification: Performance of matching and sorting (n=94): time 0.001281/0.1454, allocations: 0.8156 MB / 1.051 GB, free: 4.199 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.1455, allocations: 200.9 kB / 1.051 GB, free: 3.961 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.1458, allocations: 0.5734 MB / 1.051 GB, free: 3.375 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.1459, allocations: 49.7 kB / 1.051 GB, free: 3.32 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.1461, allocations: 468 kB / 1.052 GB, free: 2.855 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.1462, allocations: 309.3 kB / 1.052 GB, free: 2.551 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/0.1466, allocations: 208.1 kB / 1.052 GB, free: 2.34 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1467, allocations: 0.5663 MB / 1.053 GB, free: 1.762 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.1469, allocations: 121.9 kB / 1.053 GB, free: 1.641 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.1471, allocations: 369.6 kB / 1.053 GB, free: 1.23 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.1475, allocations: 367 kB / 1.054 GB, free: 0.8555 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1475, allocations: 0 / 1.054 GB, free: 0.8555 MB / 1.01 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0008105/0.1483, allocations: 0.6489 MB / 1.054 GB, free: 204 kB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1484, allocations: 10.19 kB / 1.054 GB, free: 196 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1484, allocations: 3.984 kB / 1.054 GB, free: 192 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000407/0.1488, allocations: 131.5 kB / 1.054 GB, free: 56 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4494/0.5982, allocations: 187.5 kB / 1.055 GB, free: 65.35 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.5993, allocations: 1.87 MB / 1.056 GB, free: 63.63 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.5998, allocations: 86.11 kB / 1.056 GB, free: 63.63 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.5998, allocations: 34.39 kB / 1.057 GB, free: 63.63 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0003193/0.6002, allocations: 220.3 kB / 1.057 GB, free: 63.47 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.6003, allocations: 118.5 kB / 1.057 GB, free: 63.47 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.6013, allocations: 0.8529 MB / 1.058 GB, free: 63.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.6013, allocations: 11.69 kB / 1.058 GB, free: 63.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.6013, allocations: 0 / 1.058 GB, free: 63.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.6014, allocations: 6.656 kB / 1.058 GB, free: 63.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.603, allocations: 1.581 MB / 1.059 GB, free: 63.01 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.603, allocations: 5.906 kB / 1.059 GB, free: 63.01 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.6033, allocations: 157.5 kB / 1.059 GB, free: 63.01 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003213/0.6036, allocations: 111.2 kB / 1.06 GB, free: 63 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.6036, allocations: 30.7 kB / 1.06 GB, free: 63 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007864/0.6044, allocations: 1.887 MB / 1.061 GB, free: 61.27 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6044, allocations: 0.625 kB / 1.061 GB, free: 61.27 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.6052, allocations: 0.8774 MB / 1.062 GB, free: 61.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.6055, allocations: 202.7 kB / 1.062 GB, free: 60.97 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.6055, allocations: 23.16 kB / 1.062 GB, free: 60.97 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.6058, allocations: 49.7 kB / 1.062 GB, free: 60.97 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.6059, allocations: 79.3 kB / 1.063 GB, free: 60.97 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.6059, allocations: 30.72 kB / 1.063 GB, free: 60.97 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001985/0.6061, allocations: 364.8 kB / 1.063 GB, free: 60.84 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6061, allocations: 0.6562 kB / 1.063 GB, free: 60.84 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000682/0.6068, allocations: 352.1 kB / 1.063 GB, free: 60.81 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.001136/0.6079, allocations: 0.6409 MB / 1.064 GB, free: 60.69 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007131/0.6086, allocations: 0.6416 MB / 1.065 GB, free: 60.48 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6086, allocations: 1.094 kB / 1.065 GB, free: 60.48 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.609, allocations: 481.1 kB / 1.065 GB, free: 60.29 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.6096, allocations: 317.7 kB / 1.065 GB, free: 60.27 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.6116, allocations: 1.563 MB / 1.067 GB, free: 59.55 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.6117, allocations: 201 kB / 1.067 GB, free: 59.48 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000439/0.6122, allocations: 198.3 kB / 1.067 GB, free: 59.44 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.6127, allocations: 379.6 kB / 1.068 GB, free: 59.37 MB / 1.01 GB Notification: Performance of SimCode: time 1.112e-06/0.6127, allocations: 3.719 kB / 1.068 GB, free: 59.37 MB / 1.01 GB Notification: Performance of Templates: time 0.02222/0.6349, allocations: 17.49 MB / 1.085 GB, free: 57.83 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.428314725868404]