Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.0009544/0.0009544, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009402/0.0009402, allocations: 173 kB / 23.49 MB, free: 1.059 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.9351/0.9351, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.099/2.099, allocations: 429.5 MB / 0.6736 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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8781 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.26e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006327/0.006359, allocations: 4.68 MB / 0.8827 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1309/0.1373, allocations: 146.3 MB / 1.026 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007833/0.138, allocations: 23.81 kB / 1.026 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.1386, allocations: 194.2 kB / 1.026 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.1399, allocations: 0.5707 MB / 1.026 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.1414, allocations: 0.8763 MB / 1.027 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.1424, allocations: 1.467 MB / 1.029 GB, free: 12.08 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.1429, allocations: 405.7 kB / 1.029 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.1436, allocations: 0.7368 MB / 1.03 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.144, allocations: 410.8 kB / 1.03 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.1441, allocations: 128 kB / 1.03 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007806/0.1449, allocations: 0.4993 MB / 1.031 GB, free: 9.902 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.1452, allocations: 315 kB / 1.031 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.1455, allocations: 395 kB / 1.031 GB, free: 9.207 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.1468, allocations: 1.281 MB / 1.033 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1468, allocations: 0 / 1.033 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1468, allocations: 0 / 1.033 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.1468, allocations: 0 / 1.033 GB, free: 7.922 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001623/0.1484, allocations: 1.519 MB / 1.034 GB, free: 6.355 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1485, allocations: 8.031 kB / 1.034 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009977/0.1495, allocations: 343.5 kB / 1.034 GB, free: 6.012 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008087/0.1503, allocations: 0.72 MB / 1.035 GB, free: 5.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.1503, allocations: 74.11 kB / 1.035 GB, free: 5.195 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-05/0.1504, allocations: 92 kB / 1.035 GB, free: 5.105 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000987/0.1514, allocations: 1.009 MB / 1.036 GB, free: 3.98 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1514, allocations: 0 / 1.036 GB, free: 3.98 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.1515, allocations: 40 kB / 1.036 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.1515, allocations: 23.98 kB / 1.036 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008674/0.1524, allocations: 0.7957 MB / 1.037 GB, free: 3.121 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/0.155, allocations: 2.36 MB / 1.039 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000817/0.1558, allocations: 0.5011 MB / 1.04 GB, free: 200 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.156, allocations: 181.5 kB / 1.04 GB, free: 12 kB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.386e-05/0.1561, allocations: 28.64 kB / 1.04 GB, free: 15.98 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005083/0.1566, allocations: 0.4907 MB / 1.041 GB, free: 15.45 MB / 1.01 GB Notification: Performance of pre-optimization done (n=87): time 2.545e-06/0.1566, allocations: 0 / 1.041 GB, free: 15.45 MB / 1.01 GB Notification: Performance of matching and sorting (n=87): time 0.001588/0.1582, allocations: 0.843 MB / 1.041 GB, free: 14.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/0.1583, allocations: 204.9 kB / 1.042 GB, free: 14.36 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004846/0.1588, allocations: 0.5776 MB / 1.042 GB, free: 13.76 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.1588, allocations: 45.7 kB / 1.042 GB, free: 13.71 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.1591, allocations: 455.9 kB / 1.043 GB, free: 13.26 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.1592, allocations: 289.6 kB / 1.043 GB, free: 12.97 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.1594, allocations: 184.2 kB / 1.043 GB, free: 12.79 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1596, allocations: 0.5586 MB / 1.044 GB, free: 12.21 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.1598, allocations: 137.9 kB / 1.044 GB, free: 12.08 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.1601, allocations: 397.7 kB / 1.044 GB, free: 11.64 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.1606, allocations: 391.2 kB / 1.045 GB, free: 11.25 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1606, allocations: 0 / 1.045 GB, free: 11.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0011/0.1617, allocations: 0.684 MB / 1.045 GB, free: 10.55 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1618, allocations: 8 kB / 1.045 GB, free: 10.54 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1618, allocations: 0 / 1.045 GB, free: 10.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004701/0.1622, allocations: 123.7 kB / 1.045 GB, free: 10.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.1626, allocations: 183.7 kB / 1.046 GB, free: 10.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.164, allocations: 1.912 MB / 1.047 GB, free: 8.199 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.1644, allocations: 79.55 kB / 1.048 GB, free: 8.121 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.1644, allocations: 39.97 kB / 1.048 GB, free: 8.082 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.0002306/0.1646, allocations: 215.1 kB / 1.048 GB, free: 7.859 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.1648, allocations: 111.5 kB / 1.048 GB, free: 7.75 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.1659, allocations: 0.842 MB / 1.049 GB, free: 6.887 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1659, allocations: 8 kB / 1.049 GB, free: 6.879 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1659, allocations: 4 kB / 1.049 GB, free: 6.875 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.166, allocations: 7.984 kB / 1.049 GB, free: 6.867 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.1678, allocations: 1.663 MB / 1.05 GB, free: 5.148 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1678, allocations: 0 / 1.05 GB, free: 5.148 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.1681, allocations: 147.8 kB / 1.05 GB, free: 5.004 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003498/0.1685, allocations: 111.6 kB / 1.051 GB, free: 4.891 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.1685, allocations: 31.91 kB / 1.051 GB, free: 4.859 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.1697, allocations: 1.918 MB / 1.052 GB, free: 2.812 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1697, allocations: 0 / 1.052 GB, free: 2.812 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1708, allocations: 0.8805 MB / 1.053 GB, free: 1.906 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.171, allocations: 203.1 kB / 1.054 GB, free: 1.707 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.1711, allocations: 24 kB / 1.054 GB, free: 1.684 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.1714, allocations: 43.95 kB / 1.054 GB, free: 1.641 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.1715, allocations: 80.8 kB / 1.054 GB, free: 1.562 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.1715, allocations: 39.97 kB / 1.054 GB, free: 1.523 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003069/0.1718, allocations: 390.9 kB / 1.054 GB, free: 1.145 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.1718, allocations: 0 / 1.054 GB, free: 1.145 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007079/0.1725, allocations: 343.1 kB / 1.054 GB, free: 0.8086 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.001378/0.1739, allocations: 0.6251 MB / 1.055 GB, free: 360 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.3516/0.5255, allocations: 0.6678 MB / 1.056 GB, free: 220.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.5255, allocations: 2.969 kB / 1.056 GB, free: 220.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006226/0.5262, allocations: 486.5 kB / 1.056 GB, free: 220 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/0.5271, allocations: 324.8 kB / 1.056 GB, free: 220 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.5298, allocations: 1.512 MB / 1.058 GB, free: 219.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.5299, allocations: 197.5 kB / 1.058 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005366/0.5305, allocations: 252.7 kB / 1.058 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.5307, allocations: 111.2 kB / 1.058 GB, free: 219.2 MB / 1.01 GB Notification: Performance of SimCode: time 2.806e-06/0.5307, allocations: 0 / 1.058 GB, free: 219.2 MB / 1.01 GB Notification: Performance of Templates: time 0.01825/0.5489, allocations: 15.83 MB / 1.074 GB, free: 217.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_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.191645632032305]