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.0009878/0.0009878, 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.001028/0.001028, allocations: 173 kB / 23.5 MB, free: 1.055 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.9821/0.9821, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.06/2.06, allocations: 429.5 MB / 0.6736 GB, free: 4.062 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 2.364e-06/2.364e-06, allocations: 0 / 0.8782 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.314e-05, allocations: 3.438 kB / 0.8782 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005474/0.005497, allocations: 4.798 MB / 0.8828 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.128/0.1335, allocations: 146.3 MB / 1.026 GB, free: 15 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007778/0.1342, allocations: 23.81 kB / 1.026 GB, free: 14.97 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.1348, allocations: 206.1 kB / 1.026 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.1361, allocations: 0.5747 MB / 1.027 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.1375, allocations: 0.8997 MB / 1.027 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009442/0.1385, allocations: 1.529 MB / 1.029 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005237/0.139, allocations: 398.2 kB / 1.029 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006365/0.1396, allocations: 0.7796 MB / 1.03 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.14, allocations: 430.8 kB / 1.03 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.1401, allocations: 128 kB / 1.031 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006146/0.1407, allocations: 0.4993 MB / 1.031 GB, free: 9.52 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.141, allocations: 326.9 kB / 1.031 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.1412, allocations: 402.9 kB / 1.032 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1424, allocations: 1.319 MB / 1.033 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1424, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1424, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.1424, allocations: 0 / 1.033 GB, free: 7.48 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.001585/0.144, allocations: 1.568 MB / 1.035 GB, free: 5.863 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.144, allocations: 12.03 kB / 1.035 GB, free: 5.852 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009808/0.145, allocations: 359.4 kB / 1.035 GB, free: 5.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007688/0.1458, allocations: 0.7326 MB / 1.036 GB, free: 4.742 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.1458, allocations: 74.12 kB / 1.036 GB, free: 4.672 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/0.1459, allocations: 103.9 kB / 1.036 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/0.1469, allocations: 1.04 MB / 1.037 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1469, allocations: 0 / 1.037 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/0.1469, allocations: 39.98 kB / 1.037 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.147, allocations: 24 kB / 1.037 GB, free: 3.348 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008998/0.1479, allocations: 0.8036 MB / 1.038 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.1503, allocations: 2.399 MB / 1.04 GB, free: 84 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008256/0.1511, allocations: 0.5469 MB / 1.041 GB, free: 15.53 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.1514, allocations: 192.3 kB / 1.041 GB, free: 15.34 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.443e-05/0.1514, allocations: 28.97 kB / 1.041 GB, free: 15.31 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005032/0.1519, allocations: 0.5222 MB / 1.041 GB, free: 14.74 MB / 1.01 GB Notification: Performance of pre-optimization done (n=95): time 2.865e-06/0.1519, allocations: 4 kB / 1.041 GB, free: 14.74 MB / 1.01 GB Notification: Performance of matching and sorting (n=95): time 0.001617/0.1535, allocations: 0.9094 MB / 1.042 GB, free: 13.82 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.1536, allocations: 205 kB / 1.042 GB, free: 13.57 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.1541, allocations: 0.6009 MB / 1.043 GB, free: 12.96 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.1541, allocations: 49.7 kB / 1.043 GB, free: 12.9 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.1544, allocations: 460.1 kB / 1.043 GB, free: 12.45 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.1545, allocations: 321.3 kB / 1.044 GB, free: 12.13 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.1547, allocations: 196.2 kB / 1.044 GB, free: 11.93 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1549, allocations: 0.5664 MB / 1.044 GB, free: 11.35 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.1551, allocations: 157.9 kB / 1.045 GB, free: 11.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.1555, allocations: 405.5 kB / 1.045 GB, free: 10.75 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.1561, allocations: 438.8 kB / 1.045 GB, free: 10.3 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1561, allocations: 8 kB / 1.045 GB, free: 10.29 MB / 1.01 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001064/0.1571, allocations: 0.7347 MB / 1.046 GB, free: 9.547 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1572, allocations: 4 kB / 1.046 GB, free: 9.543 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1572, allocations: 8.125 kB / 1.046 GB, free: 9.535 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004592/0.1576, allocations: 127.6 kB / 1.046 GB, free: 9.406 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.158, allocations: 199.7 kB / 1.047 GB, free: 9.211 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.1595, allocations: 1.913 MB / 1.048 GB, free: 7.168 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.1598, allocations: 79.48 kB / 1.048 GB, free: 7.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.1598, allocations: 43.97 kB / 1.048 GB, free: 7.047 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.0002121/0.16, allocations: 219 kB / 1.049 GB, free: 6.824 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.1601, allocations: 123.4 kB / 1.049 GB, free: 6.703 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.1614, allocations: 0.9242 MB / 1.05 GB, free: 5.758 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1614, allocations: 12 kB / 1.05 GB, free: 5.746 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1614, allocations: 0 / 1.05 GB, free: 5.746 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.1614, allocations: 7.969 kB / 1.05 GB, free: 5.738 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.1634, allocations: 1.783 MB / 1.051 GB, free: 3.891 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1634, allocations: 0 / 1.051 GB, free: 3.891 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.1637, allocations: 159.8 kB / 1.052 GB, free: 3.734 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.1641, allocations: 115.5 kB / 1.052 GB, free: 3.617 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/0.1641, allocations: 31.97 kB / 1.052 GB, free: 3.586 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.1652, allocations: 1.915 MB / 1.054 GB, free: 1.547 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1652, allocations: 4 kB / 1.054 GB, free: 1.543 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.1663, allocations: 0.9468 MB / 1.055 GB, free: 0.5703 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.1666, allocations: 215 kB / 1.055 GB, free: 368 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.1666, allocations: 24 kB / 1.055 GB, free: 344 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.1669, allocations: 58.53 kB / 1.055 GB, free: 288 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.1671, allocations: 84.83 kB / 1.055 GB, free: 204 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.1671, allocations: 39.97 kB / 1.055 GB, free: 164 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.4551/0.6222, allocations: 401.4 kB / 1.055 GB, free: 70.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6222, allocations: 0 / 1.055 GB, free: 70.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001087/0.6233, allocations: 353.5 kB / 1.056 GB, free: 70.36 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.001266/0.6246, allocations: 0.6244 MB / 1.056 GB, free: 70.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.6257, allocations: 0.7189 MB / 1.057 GB, free: 70.04 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6257, allocations: 5.125 kB / 1.057 GB, free: 70.04 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004824/0.6262, allocations: 0.5032 MB / 1.058 GB, free: 69.86 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/0.6271, allocations: 326.2 kB / 1.058 GB, free: 69.84 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.6296, allocations: 1.603 MB / 1.059 GB, free: 69.14 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.6297, allocations: 203.1 kB / 1.06 GB, free: 69.06 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005597/0.6303, allocations: 263.6 kB / 1.06 GB, free: 69.03 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.6305, allocations: 117.3 kB / 1.06 GB, free: 69.03 MB / 1.01 GB Notification: Performance of SimCode: time 1.833e-06/0.6305, allocations: 0.9688 kB / 1.06 GB, free: 69.03 MB / 1.01 GB Notification: Performance of Templates: time 0.01987/0.6504, allocations: 16.43 MB / 1.076 GB, free: 67.58 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.450602828990668]