Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001268/0.001268, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009719/0.0009719, allocations: 169 kB / 23.28 MB, free: 1.223 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.9217/0.9217, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.321/2.321, allocations: 438.1 MB / 0.682 GB, free: 14.16 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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 7.938 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.76e-05, allocations: 6.312 kB / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005172/0.005199, allocations: 4.719 MB / 0.8943 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1214/0.1266, allocations: 143.9 MB / 1.035 GB, free: 4.59 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006708/0.1273, allocations: 27.75 kB / 1.035 GB, free: 4.562 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.1278, allocations: 198.2 kB / 1.035 GB, free: 4.367 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.1292, allocations: 0.5978 MB / 1.036 GB, free: 3.766 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.1312, allocations: 0.8803 MB / 1.036 GB, free: 2.883 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.1327, allocations: 1.533 MB / 1.038 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006067/0.1333, allocations: 402.2 kB / 1.038 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.1344, allocations: 0.8108 MB / 1.039 GB, free: 116 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.1348, allocations: 405.1 kB / 1.04 GB, free: 15.72 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.135, allocations: 116 kB / 1.04 GB, free: 15.61 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000865/0.1359, allocations: 495.3 kB / 1.04 GB, free: 15.12 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.1361, allocations: 314.9 kB / 1.04 GB, free: 14.81 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.1364, allocations: 391 kB / 1.041 GB, free: 14.43 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.1378, allocations: 1.28 MB / 1.042 GB, free: 13.14 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1378, allocations: 0 / 1.042 GB, free: 13.14 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.595e-06/0.1378, allocations: 3.984 kB / 1.042 GB, free: 13.14 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.959e-05/0.1379, allocations: 0 / 1.042 GB, free: 13.14 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.001928/0.1398, allocations: 1.556 MB / 1.044 GB, free: 11.54 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1398, allocations: 15.97 kB / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009561/0.1408, allocations: 359.4 kB / 1.044 GB, free: 11.17 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000752/0.1415, allocations: 0.7266 MB / 1.045 GB, free: 10.42 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.1416, allocations: 74.12 kB / 1.045 GB, free: 10.35 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.769e-05/0.1417, allocations: 96 kB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/0.1424, allocations: 0.9124 MB / 1.046 GB, free: 9.246 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1425, allocations: 0 / 1.046 GB, free: 9.246 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.1425, allocations: 36 kB / 1.046 GB, free: 9.211 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.1425, allocations: 24 kB / 1.046 GB, free: 9.188 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006426/0.1432, allocations: 0.6845 MB / 1.046 GB, free: 8.5 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.1455, allocations: 2.24 MB / 1.049 GB, free: 6.207 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006084/0.1461, allocations: 0.5007 MB / 1.049 GB, free: 5.695 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1463, allocations: 166.1 kB / 1.049 GB, free: 5.527 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.3e-05/0.1464, allocations: 48.78 kB / 1.049 GB, free: 5.48 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/0.1468, allocations: 0.4908 MB / 1.05 GB, free: 4.945 MB / 1.01 GB Notification: Performance of pre-optimization done (n=95): time 3.276e-06/0.1468, allocations: 4 kB / 1.05 GB, free: 4.941 MB / 1.01 GB Notification: Performance of matching and sorting (n=95): time 0.001562/0.1484, allocations: 0.8195 MB / 1.051 GB, free: 4.109 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.1485, allocations: 200.9 kB / 1.051 GB, free: 3.871 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.1488, allocations: 0.5694 MB / 1.051 GB, free: 3.289 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/0.1489, allocations: 57.69 kB / 1.051 GB, free: 3.227 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.1491, allocations: 472 kB / 1.052 GB, free: 2.758 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.1493, allocations: 317.3 kB / 1.052 GB, free: 2.445 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.1495, allocations: 204.1 kB / 1.052 GB, free: 2.238 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1496, allocations: 0.5702 MB / 1.053 GB, free: 1.656 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.1498, allocations: 117.9 kB / 1.053 GB, free: 1.539 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.1501, allocations: 381.3 kB / 1.053 GB, free: 1.113 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.1505, allocations: 378.7 kB / 1.054 GB, free: 0.7227 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1505, allocations: 0 / 1.054 GB, free: 0.7227 MB / 1.01 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0008517/0.1513, allocations: 0.6721 MB / 1.054 GB, free: 44 kB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1513, allocations: 8.125 kB / 1.054 GB, free: 36 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1514, allocations: 0 / 1.054 GB, free: 36 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4026/0.5539, allocations: 126.2 kB / 1.055 GB, free: 65.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.5545, allocations: 195.7 kB / 1.055 GB, free: 65.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.5556, allocations: 1.868 MB / 1.057 GB, free: 63.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/0.556, allocations: 85.67 kB / 1.057 GB, free: 63.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/0.5561, allocations: 36.86 kB / 1.057 GB, free: 63.73 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (117): * Single equations (assignments): 116 * 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.0003148/0.5564, allocations: 222.4 kB / 1.057 GB, free: 63.57 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.5566, allocations: 121.7 kB / 1.057 GB, free: 63.57 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.5576, allocations: 0.8515 MB / 1.058 GB, free: 63.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.5576, allocations: 8.781 kB / 1.058 GB, free: 63.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.5576, allocations: 2.938 kB / 1.058 GB, free: 63.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.5576, allocations: 6.516 kB / 1.058 GB, free: 63.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.5595, allocations: 1.584 MB / 1.059 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.5595, allocations: 0.5156 kB / 1.059 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.5598, allocations: 152.7 kB / 1.06 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003386/0.5602, allocations: 117.2 kB / 1.06 GB, free: 63.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.5602, allocations: 29.22 kB / 1.06 GB, free: 63.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008185/0.561, allocations: 1.901 MB / 1.062 GB, free: 61.37 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.561, allocations: 1.781 kB / 1.062 GB, free: 61.37 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.5619, allocations: 0.8792 MB / 1.062 GB, free: 61.13 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.5621, allocations: 201.8 kB / 1.063 GB, free: 61.08 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.5622, allocations: 23.84 kB / 1.063 GB, free: 61.08 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.5624, allocations: 44.95 kB / 1.063 GB, free: 61.08 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/0.5625, allocations: 78.64 kB / 1.063 GB, free: 61.08 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.5626, allocations: 34.58 kB / 1.063 GB, free: 61.08 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001965/0.5628, allocations: 368.7 kB / 1.063 GB, free: 60.94 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5628, allocations: 0 / 1.063 GB, free: 60.94 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006609/0.5634, allocations: 350.2 kB / 1.063 GB, free: 60.92 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 (109): * Single equations (assignments): 96 * 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.001111/0.5645, allocations: 0.6406 MB / 1.064 GB, free: 60.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007744/0.5653, allocations: 0.6556 MB / 1.065 GB, free: 60.59 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5653, allocations: 3.406 kB / 1.065 GB, free: 60.59 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.5657, allocations: 480.1 kB / 1.065 GB, free: 60.39 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/0.5664, allocations: 330.7 kB / 1.065 GB, free: 60.38 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.5687, allocations: 1.565 MB / 1.067 GB, free: 59.65 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.5688, allocations: 201.8 kB / 1.067 GB, free: 59.57 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004559/0.5692, allocations: 194.8 kB / 1.067 GB, free: 59.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/0.5698, allocations: 381.8 kB / 1.068 GB, free: 59.47 MB / 1.01 GB Notification: Performance of SimCode: time 1.152e-06/0.5698, allocations: 0 / 1.068 GB, free: 59.47 MB / 1.01 GB Notification: Performance of Templates: time 0.02218/0.5919, allocations: 17.49 MB / 1.085 GB, free: 57.92 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.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.226650162599981]