Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [: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.435/1.435, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.001161/0.001161, allocations: 177.3 kB / 316 MB, free: 3.594 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.318/1.318, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0009698/0.0009698, allocations: 95.38 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.66e-06/5.68e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1753, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.205/5.38, allocations: 2.19 GB / 3.074 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/5.381, allocations: 94.06 kB / 3.075 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1217/5.503, allocations: 57.64 MB / 3.131 GB, free: 123 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.254e-05/5.503, allocations: 20 kB / 3.131 GB, free: 123 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001832/5.505, allocations: 1.062 MB / 3.132 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/5.505, allocations: 8.031 kB / 3.132 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009154/5.505, allocations: 190.6 kB / 3.132 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009213/5.506, allocations: 0.5998 MB / 3.133 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/5.506, allocations: 27.91 kB / 3.133 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-05/5.507, allocations: 48 kB / 3.133 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001319/5.508, allocations: 0.9601 MB / 3.134 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009883/5.509, allocations: 0.6959 MB / 3.134 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/5.509, allocations: 0 / 3.134 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/5.509, allocations: 0 / 3.134 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/5.509, allocations: 20 kB / 3.134 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/5.512, allocations: 2.201 MB / 3.137 GB, free: 117 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/5.513, allocations: 0.7012 MB / 3.137 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/5.513, allocations: 238.7 kB / 3.137 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.97e-05/5.514, allocations: 36.58 kB / 3.137 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004442/5.514, allocations: 358.1 kB / 3.138 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 2.645e-06/5.514, allocations: 4 kB / 3.138 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001434/5.515, allocations: 0.6132 MB / 3.138 GB, free: 115 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/5.516, allocations: 248 kB / 3.139 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/5.516, allocations: 0.4943 MB / 3.139 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/5.516, allocations: 25.7 kB / 3.139 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/5.516, allocations: 280.2 kB / 3.139 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/5.516, allocations: 228.6 kB / 3.14 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/5.516, allocations: 0 / 3.14 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/5.517, allocations: 374.8 kB / 3.14 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/5.517, allocations: 181.3 kB / 3.14 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/5.517, allocations: 282.4 kB / 3.14 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/5.517, allocations: 227 kB / 3.141 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/5.518, allocations: 0 / 3.141 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001273/5.519, allocations: 0.6249 MB / 3.141 GB, free: 112 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/5.519, allocations: 8 kB / 3.141 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/5.519, allocations: 3.938 kB / 3.141 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006344/5.519, allocations: 76.84 kB / 3.141 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/5.52, allocations: 139.8 kB / 3.142 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/5.522, allocations: 1.453 MB / 3.143 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/5.522, allocations: 67.59 kB / 3.143 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/5.522, allocations: 23.98 kB / 3.143 GB, free: 110.1 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 (72): * Single equations (assignments): 71 * 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.0001612/5.523, allocations: 124.8 kB / 3.143 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/5.523, allocations: 67.16 kB / 3.143 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/5.525, allocations: 0.8852 MB / 3.144 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/5.525, allocations: 11.98 kB / 3.144 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/5.525, allocations: 0 / 3.144 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/5.525, allocations: 7.984 kB / 3.144 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/5.527, allocations: 1.639 MB / 3.146 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/5.527, allocations: 3.938 kB / 3.146 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/5.528, allocations: 139.8 kB / 3.146 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005151/5.528, allocations: 92.67 kB / 3.146 GB, free: 107 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/5.528, allocations: 15.92 kB / 3.146 GB, free: 107 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/5.53, allocations: 1.476 MB / 3.147 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/5.53, allocations: 0 / 3.147 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001368/5.531, allocations: 0.7971 MB / 3.148 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/5.532, allocations: 268 kB / 3.148 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/5.532, allocations: 4 kB / 3.148 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/5.532, allocations: 55.95 kB / 3.148 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/5.532, allocations: 56.61 kB / 3.149 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.484e-05/5.532, allocations: 23.98 kB / 3.149 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004566/5.533, allocations: 402.9 kB / 3.149 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001069/5.534, allocations: 299.1 kB / 3.149 GB, free: 103.5 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 (81): * Single equations (assignments): 78 * 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.001608/5.536, allocations: 1.005 MB / 3.15 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001155/5.537, allocations: 0.6235 MB / 3.151 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/5.537, allocations: 4 kB / 3.151 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005761/5.537, allocations: 440.4 kB / 3.151 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/5.538, allocations: 211.9 kB / 3.151 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/5.542, allocations: 1.284 MB / 3.153 GB, free: 99.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000648/5.543, allocations: 1.103 MB / 3.154 GB, free: 98.82 MB / 0.8698 GB Notification: Performance of SimCode: time 8.22e-07/5.543, allocations: 4 kB / 3.154 GB, free: 98.81 MB / 0.8698 GB Notification: Performance of Templates: time 0.02546/5.568, allocations: 16.05 MB / 3.169 GB, free: 82.83 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches