Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.764/1.764, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 180.4 kB / 487 MB, free: 5.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001077, allocations: 93.88 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.262e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1943, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.556/2.751, allocations: 1.731 GB / 2.936 GB, free: 103.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/2.751, allocations: 94.86 kB / 2.936 GB, free: 103.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1253/2.876, allocations: 65.93 MB / 3 GB, free: 41.77 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.572e-05/2.876, allocations: 27.94 kB / 3.001 GB, free: 41.75 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.0015/2.878, allocations: 1.157 MB / 3.002 GB, free: 40.53 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/2.878, allocations: 8.031 kB / 3.002 GB, free: 40.52 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/2.879, allocations: 318.3 kB / 3.002 GB, free: 40.21 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/2.88, allocations: 0.6425 MB / 3.003 GB, free: 39.53 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/2.88, allocations: 28 kB / 3.003 GB, free: 39.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.117e-05/2.88, allocations: 55.91 kB / 3.003 GB, free: 39.45 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001222/2.881, allocations: 1.054 MB / 3.004 GB, free: 38.39 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/2.882, allocations: 0.8083 MB / 3.004 GB, free: 37.55 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/2.882, allocations: 0 / 3.004 GB, free: 37.55 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/2.883, allocations: 0 / 3.004 GB, free: 37.55 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/2.883, allocations: 27.94 kB / 3.005 GB, free: 37.52 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003131/2.886, allocations: 2.439 MB / 3.007 GB, free: 35.03 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/2.887, allocations: 0.8172 MB / 3.008 GB, free: 34.18 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/2.888, allocations: 254.9 kB / 3.008 GB, free: 33.93 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-05/2.888, allocations: 40.5 kB / 3.008 GB, free: 33.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004415/2.888, allocations: 398 kB / 3.008 GB, free: 33.48 MB / 1.151 GB Notification: Performance of pre-optimization done (n=75): time 1.703e-06/2.888, allocations: 0 / 3.008 GB, free: 33.48 MB / 1.151 GB Notification: Performance of matching and sorting (n=75): time 0.001318/2.889, allocations: 0.6678 MB / 3.009 GB, free: 32.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/2.889, allocations: 244 kB / 3.009 GB, free: 32.51 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/2.89, allocations: 0.4904 MB / 3.01 GB, free: 32.01 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/2.89, allocations: 33.7 kB / 3.01 GB, free: 31.97 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/2.89, allocations: 328 kB / 3.01 GB, free: 31.64 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/2.89, allocations: 244.3 kB / 3.01 GB, free: 31.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/2.89, allocations: 0 / 3.01 GB, free: 31.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/2.89, allocations: 374.8 kB / 3.011 GB, free: 31.03 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/2.891, allocations: 201.3 kB / 3.011 GB, free: 30.83 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/2.891, allocations: 310.4 kB / 3.011 GB, free: 30.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/2.891, allocations: 243 kB / 3.011 GB, free: 30.26 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/2.891, allocations: 3.938 kB / 3.011 GB, free: 30.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001244/2.892, allocations: 0.6756 MB / 3.012 GB, free: 29.57 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/2.892, allocations: 4 kB / 3.012 GB, free: 29.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/2.892, allocations: 4 kB / 3.012 GB, free: 29.56 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/2.893, allocations: 80.84 kB / 3.012 GB, free: 29.48 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/2.894, allocations: 163.8 kB / 3.012 GB, free: 29.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/2.895, allocations: 1.453 MB / 3.014 GB, free: 27.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/2.896, allocations: 87.53 kB / 3.014 GB, free: 27.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/2.896, allocations: 35.88 kB / 3.014 GB, free: 27.62 MB / 1.151 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 (77): * Single equations (assignments): 76 * 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.0001222/2.896, allocations: 112.9 kB / 3.014 GB, free: 27.51 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/2.896, allocations: 71.16 kB / 3.014 GB, free: 27.44 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/2.898, allocations: 0.9603 MB / 3.015 GB, free: 26.46 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/2.898, allocations: 12 kB / 3.015 GB, free: 26.45 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/2.898, allocations: 0 / 3.015 GB, free: 26.45 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/2.898, allocations: 3.984 kB / 3.015 GB, free: 26.45 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/2.9, allocations: 1.781 MB / 3.017 GB, free: 24.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/2.9, allocations: 3.906 kB / 3.017 GB, free: 24.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006824/2.901, allocations: 175.8 kB / 3.017 GB, free: 24.44 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004636/2.901, allocations: 84.77 kB / 3.017 GB, free: 24.35 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/2.901, allocations: 15.98 kB / 3.017 GB, free: 24.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/2.903, allocations: 1.477 MB / 3.018 GB, free: 22.74 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/2.903, allocations: 0 / 3.018 GB, free: 22.74 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001229/2.904, allocations: 0.8479 MB / 3.019 GB, free: 21.87 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/2.904, allocations: 283.8 kB / 3.019 GB, free: 21.57 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/2.904, allocations: 4 kB / 3.019 GB, free: 21.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000667/2.905, allocations: 75.92 kB / 3.02 GB, free: 21.49 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/2.905, allocations: 52.7 kB / 3.02 GB, free: 21.44 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/2.905, allocations: 27.98 kB / 3.02 GB, free: 21.41 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000313/2.905, allocations: 406.9 kB / 3.02 GB, free: 21.02 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007928/2.906, allocations: 358.7 kB / 3.02 GB, free: 20.67 MB / 1.151 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 (88): * Single equations (assignments): 85 * 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.001229/2.907, allocations: 1.05 MB / 3.021 GB, free: 19.72 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009383/2.908, allocations: 0.6703 MB / 3.022 GB, free: 19.04 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/2.908, allocations: 0 / 3.022 GB, free: 19.04 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005648/2.909, allocations: 480.5 kB / 3.023 GB, free: 18.56 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008502/2.91, allocations: 209.2 kB / 3.023 GB, free: 18.36 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/2.913, allocations: 1.409 MB / 3.024 GB, free: 16.91 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000608/2.913, allocations: 1.158 MB / 3.025 GB, free: 15.73 MB / 1.151 GB Notification: Performance of SimCode: time 3.11e-07/2.913, allocations: 0 / 3.025 GB, free: 15.73 MB / 1.151 GB Notification: Performance of Templates: time 0.2876/3.201, allocations: 17.4 MB / 3.042 GB, free: 0.518 GB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches