Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.701/1.701, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009163/0.0009163, allocations: 185.3 kB / 490.8 MB, free: 1.945 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.066/1.066, allocations: 221.3 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008134/0.0008134, allocations: 97.91 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.769e-06/4.789e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1697, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.303/2.473, allocations: 1.732 GB / 2.943 GB, free: 114.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/2.473, allocations: 94.69 kB / 2.943 GB, free: 114.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1225/2.596, allocations: 65.94 MB / 3.008 GB, free: 53.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.984e-05/2.596, allocations: 27.94 kB / 3.008 GB, free: 53.95 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.001518/2.597, allocations: 1.157 MB / 3.009 GB, free: 52.74 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/2.597, allocations: 8.031 kB / 3.009 GB, free: 52.73 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/2.599, allocations: 318.3 kB / 3.009 GB, free: 52.42 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007967/2.599, allocations: 0.6386 MB / 3.01 GB, free: 51.73 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/2.599, allocations: 31.98 kB / 3.01 GB, free: 51.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/2.6, allocations: 52 kB / 3.01 GB, free: 51.65 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001221/2.601, allocations: 1.05 MB / 3.011 GB, free: 50.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/2.602, allocations: 0.8082 MB / 3.012 GB, free: 49.76 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/2.602, allocations: 0 / 3.012 GB, free: 49.76 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/2.602, allocations: 0 / 3.012 GB, free: 49.76 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/2.602, allocations: 24 kB / 3.012 GB, free: 49.73 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/2.605, allocations: 2.451 MB / 3.014 GB, free: 47.23 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/2.607, allocations: 0.8039 MB / 3.015 GB, free: 46.39 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/2.607, allocations: 266.8 kB / 3.015 GB, free: 46.13 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.964e-05/2.607, allocations: 32.61 kB / 3.015 GB, free: 46.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000423/2.607, allocations: 398 kB / 3.015 GB, free: 45.69 MB / 1.151 GB Notification: Performance of pre-optimization done (n=75): time 1.723e-06/2.607, allocations: 0 / 3.015 GB, free: 45.69 MB / 1.151 GB Notification: Performance of matching and sorting (n=75): time 0.001322/2.609, allocations: 0.6717 MB / 3.016 GB, free: 45.01 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/2.609, allocations: 243.9 kB / 3.016 GB, free: 44.71 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/2.609, allocations: 0.4905 MB / 3.017 GB, free: 44.22 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/2.609, allocations: 29.7 kB / 3.017 GB, free: 44.18 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/2.609, allocations: 327.9 kB / 3.017 GB, free: 43.86 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/2.61, allocations: 248.4 kB / 3.017 GB, free: 43.61 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/2.61, allocations: 0 / 3.017 GB, free: 43.61 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/2.61, allocations: 374.7 kB / 3.018 GB, free: 43.23 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/2.61, allocations: 205.3 kB / 3.018 GB, free: 43.04 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/2.61, allocations: 302.4 kB / 3.018 GB, free: 42.71 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/2.611, allocations: 247 kB / 3.018 GB, free: 42.47 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/2.611, allocations: 0 / 3.018 GB, free: 42.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001256/2.612, allocations: 0.6756 MB / 3.019 GB, free: 41.78 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/2.612, allocations: 4 kB / 3.019 GB, free: 41.78 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/2.612, allocations: 4 kB / 3.019 GB, free: 41.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/2.613, allocations: 80.84 kB / 3.019 GB, free: 41.69 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/2.613, allocations: 167.8 kB / 3.019 GB, free: 41.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/2.615, allocations: 1.45 MB / 3.021 GB, free: 39.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/2.615, allocations: 79.59 kB / 3.021 GB, free: 39.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/2.615, allocations: 39.89 kB / 3.021 GB, free: 39.84 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.615, allocations: 124.8 kB / 3.021 GB, free: 39.71 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/2.616, allocations: 71.16 kB / 3.021 GB, free: 39.64 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/2.617, allocations: 0.9561 MB / 3.022 GB, free: 38.67 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/2.617, allocations: 8 kB / 3.022 GB, free: 38.66 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/2.617, allocations: 0 / 3.022 GB, free: 38.66 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/2.617, allocations: 11.95 kB / 3.022 GB, free: 38.65 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/2.62, allocations: 1.766 MB / 3.024 GB, free: 36.83 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/2.62, allocations: 3.938 kB / 3.024 GB, free: 36.83 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/2.62, allocations: 179.8 kB / 3.024 GB, free: 36.65 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/2.621, allocations: 84.69 kB / 3.024 GB, free: 36.57 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/2.621, allocations: 15.98 kB / 3.024 GB, free: 36.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/2.622, allocations: 1.48 MB / 3.026 GB, free: 34.95 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/2.622, allocations: 4 kB / 3.026 GB, free: 34.95 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001254/2.623, allocations: 0.8479 MB / 3.026 GB, free: 34.08 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/2.624, allocations: 279.8 kB / 3.027 GB, free: 33.79 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/2.624, allocations: 4 kB / 3.027 GB, free: 33.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/2.624, allocations: 75.92 kB / 3.027 GB, free: 33.71 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/2.625, allocations: 52.7 kB / 3.027 GB, free: 33.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/2.625, allocations: 31.97 kB / 3.027 GB, free: 33.62 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003151/2.625, allocations: 402.9 kB / 3.027 GB, free: 33.23 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007685/2.626, allocations: 354.8 kB / 3.027 GB, free: 32.89 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.001275/2.627, allocations: 1.053 MB / 3.029 GB, free: 31.94 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009056/2.628, allocations: 0.6743 MB / 3.029 GB, free: 31.25 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.628, allocations: 3.984 kB / 3.029 GB, free: 31.25 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005615/2.628, allocations: 476.4 kB / 3.03 GB, free: 30.77 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/2.629, allocations: 204 kB / 3.03 GB, free: 30.57 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/2.632, allocations: 1.409 MB / 3.031 GB, free: 29.13 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/2.633, allocations: 1.16 MB / 3.032 GB, free: 27.95 MB / 1.151 GB Notification: Performance of SimCode: time 2.81e-07/2.633, allocations: 0 / 3.032 GB, free: 27.95 MB / 1.151 GB Notification: Performance of Templates: time 0.02077/2.654, allocations: 17.4 MB / 3.049 GB, free: 10.71 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches