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.0009148/0.0009148, allocations: 93.06 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.0008807/0.0008807, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.8902/0.8902, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.98/1.98, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.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 1.823e-06/1.823e-06, allocations: 0.6562 kB / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.938e-05, allocations: 6.312 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00744/0.00747, allocations: 4.827 MB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1321/0.1396, allocations: 146.6 MB / 1.026 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007189/0.1403, allocations: 23.81 kB / 1.026 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.1407, allocations: 206 kB / 1.026 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.1418, allocations: 0.5901 MB / 1.027 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1432, allocations: 0.8919 MB / 1.028 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.1444, allocations: 1.526 MB / 1.029 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004849/0.1449, allocations: 394.2 kB / 1.03 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007491/0.1456, allocations: 0.8147 MB / 1.03 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.146, allocations: 406.7 kB / 1.031 GB, free: 9.531 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.1461, allocations: 116 kB / 1.031 GB, free: 9.418 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005825/0.1467, allocations: 495.4 kB / 1.031 GB, free: 8.934 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.1469, allocations: 310.9 kB / 1.032 GB, free: 8.629 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.1471, allocations: 391 kB / 1.032 GB, free: 8.246 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.1483, allocations: 1.284 MB / 1.033 GB, free: 6.957 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1483, allocations: 0 / 1.033 GB, free: 6.957 MB / 0.9948 GB Notification: Performance of FrontEnd: time 9.41e-07/0.1483, allocations: 0 / 1.033 GB, free: 6.957 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.1483, allocations: 0 / 1.033 GB, free: 6.957 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.00147/0.1498, allocations: 1.56 MB / 1.035 GB, free: 5.348 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.1498, allocations: 12.03 kB / 1.035 GB, free: 5.336 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009114/0.1507, allocations: 355.5 kB / 1.035 GB, free: 4.988 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008315/0.1516, allocations: 0.7344 MB / 1.036 GB, free: 4.23 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.1516, allocations: 70.12 kB / 1.036 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.082e-05/0.1517, allocations: 95.98 kB / 1.036 GB, free: 4.066 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009155/0.1526, allocations: 0.9634 MB / 1.037 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1526, allocations: 0 / 1.037 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.1527, allocations: 51.98 kB / 1.037 GB, free: 2.957 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.1527, allocations: 20 kB / 1.037 GB, free: 2.938 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008394/0.1535, allocations: 0.8114 MB / 1.038 GB, free: 2.121 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.1559, allocations: 2.344 MB / 1.04 GB, free: 15.71 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.1567, allocations: 0.5415 MB / 1.041 GB, free: 15.16 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.1569, allocations: 207.7 kB / 1.041 GB, free: 14.96 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.157, allocations: 32.97 kB / 1.041 GB, free: 14.93 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004552/0.1574, allocations: 0.5144 MB / 1.041 GB, free: 14.37 MB / 1.01 GB Notification: Performance of pre-optimization done (n=95): time 1.953e-06/0.1574, allocations: 0 / 1.041 GB, free: 14.37 MB / 1.01 GB Notification: Performance of matching and sorting (n=95): time 0.001596/0.159, allocations: 0.9055 MB / 1.042 GB, free: 13.45 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.1591, allocations: 204.9 kB / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.1595, allocations: 0.5893 MB / 1.043 GB, free: 12.61 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.1596, allocations: 49.7 kB / 1.043 GB, free: 12.55 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.1598, allocations: 460 kB / 1.043 GB, free: 12.09 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.1599, allocations: 321.3 kB / 1.044 GB, free: 11.78 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.1601, allocations: 200.2 kB / 1.044 GB, free: 11.58 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1602, allocations: 0.5664 MB / 1.045 GB, free: 11 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.1605, allocations: 149.9 kB / 1.045 GB, free: 10.85 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.1608, allocations: 417.5 kB / 1.045 GB, free: 10.39 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/0.1613, allocations: 434.8 kB / 1.045 GB, free: 9.949 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1613, allocations: 0 / 1.045 GB, free: 9.949 MB / 1.01 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001011/0.1623, allocations: 0.7308 MB / 1.046 GB, free: 9.207 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1624, allocations: 6.344 kB / 1.046 GB, free: 9.203 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1624, allocations: 7.984 kB / 1.046 GB, free: 9.195 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004287/0.1628, allocations: 131.7 kB / 1.046 GB, free: 9.062 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.1632, allocations: 191.7 kB / 1.047 GB, free: 8.875 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.1643, allocations: 1.902 MB / 1.048 GB, free: 6.844 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.1646, allocations: 87.66 kB / 1.048 GB, free: 6.758 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.1647, allocations: 47.91 kB / 1.049 GB, free: 6.711 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.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,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.0001896/0.1648, allocations: 235.1 kB / 1.049 GB, free: 6.473 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.165, allocations: 119.4 kB / 1.049 GB, free: 6.355 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.1662, allocations: 0.9164 MB / 1.05 GB, free: 5.414 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1662, allocations: 12 kB / 1.05 GB, free: 5.402 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.1662, allocations: 0 / 1.05 GB, free: 5.402 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1662, allocations: 3.984 kB / 1.05 GB, free: 5.398 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.1681, allocations: 1.748 MB / 1.051 GB, free: 3.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1681, allocations: 0 / 1.051 GB, free: 3.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.1684, allocations: 163.7 kB / 1.052 GB, free: 3.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003129/0.1687, allocations: 115.5 kB / 1.052 GB, free: 3.312 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.1687, allocations: 35.98 kB / 1.052 GB, free: 3.277 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009968/0.1697, allocations: 1.923 MB / 1.054 GB, free: 1.23 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1697, allocations: 3.984 kB / 1.054 GB, free: 1.227 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1707, allocations: 0.939 MB / 1.055 GB, free: 268 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.1709, allocations: 207.1 kB / 1.055 GB, free: 60 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.846e-05/0.171, allocations: 27.98 kB / 1.055 GB, free: 32 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.4151/0.5861, allocations: 41.59 kB / 1.055 GB, free: 73.95 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.5863, allocations: 79.38 kB / 1.055 GB, free: 73.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.519e-05/0.5864, allocations: 39.31 kB / 1.055 GB, free: 73.95 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003388/0.5867, allocations: 393.7 kB / 1.055 GB, free: 73.81 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.5867, allocations: 0 / 1.055 GB, free: 73.81 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007176/0.5874, allocations: 356.9 kB / 1.056 GB, free: 73.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 (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.001106/0.5885, allocations: 0.6298 MB / 1.056 GB, free: 73.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008983/0.5894, allocations: 0.7186 MB / 1.057 GB, free: 73.49 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5894, allocations: 4.062 kB / 1.057 GB, free: 73.49 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004047/0.5898, allocations: 0.4978 MB / 1.057 GB, free: 73.31 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/0.5905, allocations: 320.4 kB / 1.058 GB, free: 73.29 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.5927, allocations: 1.597 MB / 1.059 GB, free: 72.59 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.5928, allocations: 208.8 kB / 1.06 GB, free: 72.51 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004827/0.5933, allocations: 267.2 kB / 1.06 GB, free: 72.48 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.5935, allocations: 117.2 kB / 1.06 GB, free: 72.48 MB / 1.01 GB Notification: Performance of SimCode: time 6.41e-07/0.5935, allocations: 0 / 1.06 GB, free: 72.48 MB / 1.01 GB Notification: Performance of Templates: time 0.01908/0.6125, allocations: 17.15 MB / 1.077 GB, free: 70.89 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.117184612900019]