Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 249.4 MB / 256.7 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 176.4 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.2 MB / 0.5667 GB, free: 15.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009251/0.0009251, allocations: 90.38 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.792e-06/6.823e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2356, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.023/5.258, allocations: 2.19 GB / 3.075 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/5.259, allocations: 99.88 kB / 3.075 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.125/5.384, allocations: 58.32 MB / 3.132 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.478e-05/5.384, allocations: 27.94 kB / 3.132 GB, free: 154.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001804/5.386, allocations: 1.062 MB / 3.133 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/5.386, allocations: 11.97 kB / 3.133 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009235/5.387, allocations: 198.6 kB / 3.133 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/5.388, allocations: 0.6153 MB / 3.134 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/5.388, allocations: 24 kB / 3.134 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/5.388, allocations: 47.91 kB / 3.134 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001283/5.389, allocations: 0.9718 MB / 3.135 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/5.39, allocations: 0.7116 MB / 3.135 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/5.39, allocations: 4 kB / 3.135 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/5.39, allocations: 0 / 3.135 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/5.39, allocations: 23.98 kB / 3.135 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003172/5.393, allocations: 2.247 MB / 3.138 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009897/5.394, allocations: 0.7245 MB / 3.138 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/5.395, allocations: 250.8 kB / 3.138 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.152e-05/5.395, allocations: 36.59 kB / 3.139 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004552/5.395, allocations: 370.1 kB / 3.139 GB, free: 147 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.394e-06/5.395, allocations: 0 / 3.139 GB, free: 147 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001498/5.397, allocations: 0.6481 MB / 3.139 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/5.397, allocations: 240 kB / 3.14 GB, free: 146 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/5.397, allocations: 0.4944 MB / 3.14 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/5.398, allocations: 29.7 kB / 3.14 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/5.398, allocations: 284.2 kB / 3.141 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/5.398, allocations: 232.6 kB / 3.141 GB, free: 145 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/5.398, allocations: 4 kB / 3.141 GB, free: 145 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001188/5.398, allocations: 378.7 kB / 3.141 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/5.398, allocations: 181.3 kB / 3.141 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/5.399, allocations: 294.4 kB / 3.142 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/5.399, allocations: 235 kB / 3.142 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/5.399, allocations: 0 / 3.142 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001321/5.4, allocations: 0.6521 MB / 3.142 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/5.4, allocations: 4 kB / 3.142 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/5.4, allocations: 4 kB / 3.142 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/5.401, allocations: 80.84 kB / 3.142 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/5.402, allocations: 139.8 kB / 3.143 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/5.403, allocations: 1.453 MB / 3.144 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/5.404, allocations: 63.56 kB / 3.144 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/5.404, allocations: 27.98 kB / 3.144 GB, free: 141.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001563/5.404, allocations: 120.8 kB / 3.144 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/5.404, allocations: 71.16 kB / 3.144 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/5.406, allocations: 0.9402 MB / 3.145 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/5.406, allocations: 11.94 kB / 3.145 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/5.406, allocations: 0 / 3.145 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/5.406, allocations: 3.984 kB / 3.145 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/5.409, allocations: 1.705 MB / 3.147 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/5.409, allocations: 3.938 kB / 3.147 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/5.409, allocations: 147.8 kB / 3.147 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005096/5.41, allocations: 84.78 kB / 3.147 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/5.41, allocations: 11.98 kB / 3.147 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/5.411, allocations: 1.484 MB / 3.149 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/5.411, allocations: 3.906 kB / 3.149 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00135/5.413, allocations: 0.8207 MB / 3.149 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/5.413, allocations: 276 kB / 3.15 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/5.413, allocations: 4 kB / 3.15 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/5.414, allocations: 59.84 kB / 3.15 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/5.414, allocations: 56.69 kB / 3.15 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/5.414, allocations: 31.98 kB / 3.15 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004068/5.415, allocations: 406.9 kB / 3.15 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001008/5.416, allocations: 299.1 kB / 3.15 GB, free: 134.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/5.417, allocations: 0.9977 MB / 3.151 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001099/5.418, allocations: 0.647 MB / 3.152 GB, free: 133 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/5.418, allocations: 0 / 3.152 GB, free: 133 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005876/5.419, allocations: 452.4 kB / 3.153 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009633/5.42, allocations: 207.4 kB / 3.153 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/5.423, allocations: 1.339 MB / 3.154 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006436/5.424, allocations: 1.115 MB / 3.155 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/5.424, allocations: 4 kB / 3.155 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.0241/5.448, allocations: 16.37 MB / 3.171 GB, free: 113.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches