Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [: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.477/1.477, allocations: 249.4 MB / 256.7 MB, free: 6.969 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.001145/0.001145, allocations: 185.2 kB / 316 MB, free: 3.535 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.324/1.324, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0008828/0.0008828, allocations: 86.17 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.773e-06/6.802e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1987, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.139/5.337, allocations: 2.191 GB / 3.076 GB, free: 219 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003878/5.338, allocations: 95.94 kB / 3.076 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1289/5.467, allocations: 58.86 MB / 3.133 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.414e-05/5.467, allocations: 24 kB / 3.133 GB, free: 159.8 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002065/5.469, allocations: 1.101 MB / 3.134 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/5.469, allocations: 8.031 kB / 3.134 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009531/5.47, allocations: 206.5 kB / 3.135 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/5.471, allocations: 0.6328 MB / 3.135 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/5.471, allocations: 67.69 kB / 3.135 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/5.471, allocations: 44 kB / 3.135 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001287/5.473, allocations: 0.9913 MB / 3.136 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/5.474, allocations: 0.7311 MB / 3.137 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/5.474, allocations: 0 / 3.137 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.998e-05/5.474, allocations: 7.984 kB / 3.137 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/5.474, allocations: 24 kB / 3.137 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/5.477, allocations: 2.29 MB / 3.139 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/5.479, allocations: 0.7729 MB / 3.14 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/5.479, allocations: 250.8 kB / 3.14 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.763e-05/5.479, allocations: 36.67 kB / 3.14 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004821/5.479, allocations: 390 kB / 3.141 GB, free: 152 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 2.535e-06/5.48, allocations: 0 / 3.141 GB, free: 152 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.00152/5.481, allocations: 0.6599 MB / 3.141 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/5.481, allocations: 243.9 kB / 3.142 GB, free: 151 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/5.482, allocations: 0.5023 MB / 3.142 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/5.482, allocations: 25.7 kB / 3.142 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/5.482, allocations: 292.3 kB / 3.142 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/5.482, allocations: 240.3 kB / 3.143 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/5.482, allocations: 0 / 3.143 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001067/5.482, allocations: 374.8 kB / 3.143 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/5.482, allocations: 197.3 kB / 3.143 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/5.483, allocations: 306.3 kB / 3.143 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/5.483, allocations: 243.1 kB / 3.144 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/5.483, allocations: 0 / 3.144 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001356/5.485, allocations: 0.6638 MB / 3.144 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/5.485, allocations: 12.06 kB / 3.144 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/5.485, allocations: 0 / 3.144 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006757/5.485, allocations: 84.77 kB / 3.144 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/5.486, allocations: 147.8 kB / 3.145 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/5.488, allocations: 1.461 MB / 3.146 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/5.488, allocations: 67.56 kB / 3.146 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/5.488, allocations: 27.97 kB / 3.146 GB, free: 146.2 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 (78): * Single equations (assignments): 77 * 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.0001603/5.489, allocations: 121 kB / 3.146 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/5.489, allocations: 79.08 kB / 3.146 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/5.491, allocations: 0.9721 MB / 3.147 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/5.491, allocations: 11.91 kB / 3.147 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/5.491, allocations: 4 kB / 3.147 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/5.491, allocations: 3.984 kB / 3.147 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/5.494, allocations: 1.756 MB / 3.149 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/5.494, allocations: 3.984 kB / 3.149 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000697/5.494, allocations: 163.8 kB / 3.149 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005434/5.495, allocations: 92.7 kB / 3.149 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/5.495, allocations: 11.98 kB / 3.149 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/5.496, allocations: 1.472 MB / 3.151 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/5.497, allocations: 0 / 3.151 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00152/5.498, allocations: 0.8634 MB / 3.151 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/5.498, allocations: 283.7 kB / 3.152 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/5.499, allocations: 7.984 kB / 3.152 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/5.499, allocations: 55.95 kB / 3.152 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/5.499, allocations: 56.69 kB / 3.152 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/5.499, allocations: 35.97 kB / 3.152 GB, free: 140 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004751/5.5, allocations: 407 kB / 3.152 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001182/5.501, allocations: 307.1 kB / 3.153 GB, free: 139.3 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 (93): * Single equations (assignments): 90 * 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.001994/5.503, allocations: 1.013 MB / 3.154 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00138/5.504, allocations: 0.6586 MB / 3.154 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/5.505, allocations: 0 / 3.154 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007092/5.505, allocations: 480.5 kB / 3.155 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/5.506, allocations: 217.6 kB / 3.155 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/5.511, allocations: 1.359 MB / 3.156 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008136/5.512, allocations: 1.144 MB / 3.157 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.734e-06/5.512, allocations: 0 / 3.157 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.02767/5.539, allocations: 16.64 MB / 3.174 GB, free: 117.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches