Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [: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.404/1.404, allocations: 249.4 MB / 256.7 MB, free: 7.055 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.001346/0.001346, allocations: 172.5 kB / 316 MB, free: 3.582 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.411/1.411, allocations: 205.1 MB / 0.5667 GB, free: 15.63 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.0009371/0.0009371, allocations: 83.39 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.132e-06/6.152e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2272, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.41/5.637, allocations: 2.191 GB / 3.075 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/5.637, allocations: 91.48 kB / 3.075 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1364/5.774, allocations: 64.17 MB / 3.138 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.27e-05/5.774, allocations: 20 kB / 3.138 GB, free: 149.3 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001836/5.775, allocations: 1.118 MB / 3.139 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/5.776, allocations: 8.031 kB / 3.139 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/5.777, allocations: 294.4 kB / 3.139 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009289/5.778, allocations: 0.6269 MB / 3.14 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/5.778, allocations: 28 kB / 3.14 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/5.778, allocations: 52 kB / 3.14 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001354/5.779, allocations: 1.034 MB / 3.141 GB, free: 146 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/5.781, allocations: 0.7779 MB / 3.142 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/5.781, allocations: 4 kB / 3.142 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/5.781, allocations: 0 / 3.142 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/5.781, allocations: 23.98 kB / 3.142 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003491/5.784, allocations: 2.454 MB / 3.144 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/5.786, allocations: 0.7237 MB / 3.145 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/5.786, allocations: 254.8 kB / 3.145 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.422e-05/5.786, allocations: 40.53 kB / 3.145 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/5.787, allocations: 398 kB / 3.146 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 2.224e-06/5.787, allocations: 0 / 3.146 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.001499/5.788, allocations: 0.6599 MB / 3.146 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/5.788, allocations: 244 kB / 3.147 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/5.789, allocations: 0.4983 MB / 3.147 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/5.789, allocations: 25.7 kB / 3.147 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/5.789, allocations: 316.1 kB / 3.147 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/5.789, allocations: 236.4 kB / 3.148 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/5.789, allocations: 0 / 3.148 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.711e-05/5.789, allocations: 378.8 kB / 3.148 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/5.79, allocations: 201.2 kB / 3.148 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/5.79, allocations: 298.4 kB / 3.148 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/5.79, allocations: 251.1 kB / 3.149 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/5.79, allocations: 0 / 3.149 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001375/5.792, allocations: 0.6678 MB / 3.149 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/5.792, allocations: 8 kB / 3.149 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/5.792, allocations: 0 / 3.149 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/5.793, allocations: 80.84 kB / 3.149 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/5.793, allocations: 155.8 kB / 3.15 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/5.795, allocations: 1.457 MB / 3.151 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/5.796, allocations: 79.5 kB / 3.151 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/5.796, allocations: 31.97 kB / 3.151 GB, free: 135.4 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 (76): * Single equations (assignments): 75 * 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.0001507/5.796, allocations: 112.9 kB / 3.151 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/5.796, allocations: 71.16 kB / 3.151 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/5.798, allocations: 0.9797 MB / 3.152 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/5.798, allocations: 11.91 kB / 3.152 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/5.798, allocations: 0 / 3.152 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/5.798, allocations: 3.984 kB / 3.152 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008201/5.799, allocations: 0.7672 MB / 3.153 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/5.799, allocations: 0 / 3.153 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006828/5.8, allocations: 163.8 kB / 3.153 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004981/5.8, allocations: 80.78 kB / 3.153 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/5.8, allocations: 15.98 kB / 3.153 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/5.802, allocations: 1.484 MB / 3.155 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/5.802, allocations: 4.031 kB / 3.155 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001346/5.803, allocations: 0.7568 MB / 3.155 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/5.803, allocations: 279.9 kB / 3.156 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/5.803, allocations: 4 kB / 3.156 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/5.804, allocations: 75.83 kB / 3.156 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/5.804, allocations: 48.7 kB / 3.156 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/5.804, allocations: 31.97 kB / 3.156 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004151/5.805, allocations: 418.8 kB / 3.156 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001005/5.806, allocations: 311 kB / 3.157 GB, free: 129.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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.001489/5.807, allocations: 1.011 MB / 3.158 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001146/5.808, allocations: 0.6623 MB / 3.158 GB, free: 128 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/5.808, allocations: 0 / 3.158 GB, free: 128 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006133/5.809, allocations: 464.7 kB / 3.159 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009577/5.81, allocations: 215.1 kB / 3.159 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/5.813, allocations: 1.378 MB / 3.16 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007005/5.814, allocations: 1.138 MB / 3.161 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/5.814, allocations: 0 / 3.161 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.02476/5.839, allocations: 16.99 MB / 3.178 GB, free: 107.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches