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.001/0.001, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.0009912/0.0009912, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9181/0.9181, allocations: 177.2 MB / 204.5 MB, free: 5.523 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.022/2.022, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.062e-06/1.062e-06, allocations: 0 / 0.8794 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.653e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004733/0.004749, allocations: 4.737 MB / 0.884 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1281/0.1329, allocations: 143.9 MB / 1.025 GB, free: 0.9414 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007903/0.1337, allocations: 23.81 kB / 1.025 GB, free: 0.918 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005273/0.1342, allocations: 194.2 kB / 1.025 GB, free: 0.7266 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.1356, allocations: 0.6017 MB / 1.025 GB, free: 124 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.1371, allocations: 0.8842 MB / 1.026 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009752/0.138, allocations: 1.522 MB / 1.028 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004938/0.1385, allocations: 406.1 kB / 1.028 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006965/0.1392, allocations: 0.8108 MB / 1.029 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.1396, allocations: 406.8 kB / 1.029 GB, free: 12.08 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.1397, allocations: 116 kB / 1.029 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.1402, allocations: 499.3 kB / 1.03 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.1404, allocations: 303 kB / 1.03 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.1407, allocations: 398.9 kB / 1.03 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1418, allocations: 1.269 MB / 1.032 GB, free: 9.516 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1418, allocations: 7.984 kB / 1.032 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1418, allocations: 0 / 1.032 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.1418, allocations: 0 / 1.032 GB, free: 9.508 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.001517/0.1433, allocations: 1.572 MB / 1.033 GB, free: 7.887 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.1434, allocations: 8.031 kB / 1.033 GB, free: 7.879 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/0.1443, allocations: 359.4 kB / 1.034 GB, free: 7.527 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.145, allocations: 0.7304 MB / 1.034 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.145, allocations: 78.12 kB / 1.034 GB, free: 6.695 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.429e-05/0.1451, allocations: 96 kB / 1.034 GB, free: 6.602 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.1459, allocations: 0.9124 MB / 1.035 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1459, allocations: 0 / 1.035 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.146, allocations: 39.98 kB / 1.035 GB, free: 5.555 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.146, allocations: 28 kB / 1.035 GB, free: 5.527 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/0.1466, allocations: 0.6884 MB / 1.036 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.1488, allocations: 2.22 MB / 1.038 GB, free: 2.562 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.1494, allocations: 0.4952 MB / 1.039 GB, free: 2.059 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.1496, allocations: 170.6 kB / 1.039 GB, free: 1.891 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.1496, allocations: 36.97 kB / 1.039 GB, free: 1.852 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.15, allocations: 498.6 kB / 1.039 GB, free: 1.316 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=95): time 2.054e-06/0.15, allocations: 0 / 1.039 GB, free: 1.316 MB / 0.9948 GB Notification: Performance of matching and sorting (n=95): time 0.001326/0.1513, allocations: 0.8234 MB / 1.04 GB, free: 496 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.1514, allocations: 196.9 kB / 1.04 GB, free: 256 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.1518, allocations: 0.5773 MB / 1.041 GB, free: 15.66 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.1518, allocations: 49.7 kB / 1.041 GB, free: 15.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.1521, allocations: 471.9 kB / 1.041 GB, free: 15.13 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.1522, allocations: 313.3 kB / 1.042 GB, free: 14.82 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.1524, allocations: 208.1 kB / 1.042 GB, free: 14.61 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1526, allocations: 0.5781 MB / 1.043 GB, free: 14.02 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.1527, allocations: 117.8 kB / 1.043 GB, free: 13.91 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.153, allocations: 373.4 kB / 1.043 GB, free: 13.49 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.1534, allocations: 382.7 kB / 1.043 GB, free: 13.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1534, allocations: 3.938 kB / 1.043 GB, free: 13.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0008674/0.1542, allocations: 0.6606 MB / 1.044 GB, free: 12.42 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1543, allocations: 8 kB / 1.044 GB, free: 12.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1543, allocations: 0 / 1.044 GB, free: 12.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004229/0.1547, allocations: 127.6 kB / 1.044 GB, free: 12.28 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.1551, allocations: 195.7 kB / 1.044 GB, free: 12.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.1563, allocations: 1.875 MB / 1.046 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.1566, allocations: 87.55 kB / 1.046 GB, free: 10.01 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.1566, allocations: 35.97 kB / 1.046 GB, free: 9.973 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.0001994/0.1568, allocations: 219 kB / 1.047 GB, free: 9.746 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.1569, allocations: 123.4 kB / 1.047 GB, free: 9.625 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.158, allocations: 0.85 MB / 1.047 GB, free: 8.754 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.158, allocations: 12 kB / 1.047 GB, free: 8.742 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.158, allocations: 0 / 1.047 GB, free: 8.742 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.158, allocations: 7.969 kB / 1.047 GB, free: 8.734 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.1597, allocations: 1.584 MB / 1.049 GB, free: 7.098 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1597, allocations: 0 / 1.049 GB, free: 7.098 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.16, allocations: 151.8 kB / 1.049 GB, free: 6.949 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003321/0.1604, allocations: 115.6 kB / 1.049 GB, free: 6.832 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.1604, allocations: 27.98 kB / 1.049 GB, free: 6.805 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.1615, allocations: 1.907 MB / 1.051 GB, free: 4.781 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1615, allocations: 0 / 1.051 GB, free: 4.781 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008972/0.1624, allocations: 0.8764 MB / 1.052 GB, free: 3.879 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.1626, allocations: 199.1 kB / 1.052 GB, free: 3.684 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.1627, allocations: 31.97 kB / 1.052 GB, free: 3.652 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.163, allocations: 43.95 kB / 1.052 GB, free: 3.609 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/0.163, allocations: 80.84 kB / 1.052 GB, free: 3.531 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.1631, allocations: 31.98 kB / 1.052 GB, free: 3.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002115/0.1633, allocations: 366.8 kB / 1.053 GB, free: 3.145 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-08/0.1633, allocations: 0 / 1.053 GB, free: 3.145 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005554/0.1639, allocations: 351.1 kB / 1.053 GB, free: 2.801 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.001166/0.165, allocations: 0.6499 MB / 1.054 GB, free: 2.32 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007533/0.1658, allocations: 0.6523 MB / 1.054 GB, free: 1.645 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1658, allocations: 7.984 kB / 1.054 GB, free: 1.637 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.1664, allocations: 477.1 kB / 1.055 GB, free: 1.148 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007069/0.1671, allocations: 318.3 kB / 1.055 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3518/0.5188, allocations: 1.564 MB / 1.057 GB, free: 75.39 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.5189, allocations: 200.7 kB / 1.057 GB, free: 75.31 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005233/0.5195, allocations: 202.7 kB / 1.057 GB, free: 75.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005106/0.52, allocations: 378.6 kB / 1.057 GB, free: 75.24 MB / 1.01 GB Notification: Performance of SimCode: time 1.262e-06/0.52, allocations: 0 / 1.057 GB, free: 75.24 MB / 1.01 GB Notification: Performance of Templates: time 0.01709/0.5371, allocations: 17.77 MB / 1.075 GB, free: 73.85 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.399604439269751]