Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [: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.73/1.73, allocations: 390.4 MB / 397.7 MB, free: 11.14 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.0008934/0.0008934, allocations: 192 kB / 490.8 MB, free: 1.82 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.086/1.086, allocations: 221.4 MB / 0.7863 GB, free: 13.48 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.0008303/0.0008303, allocations: 86.62 kB / 0.9264 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.041e-06/6.142e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.174, allocations: 143 MB / 1.212 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.373/2.547, allocations: 1.732 GB / 2.943 GB, free: 113.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/2.547, allocations: 92.67 kB / 2.943 GB, free: 113.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1255/2.673, allocations: 68.55 MB / 3.01 GB, free: 50.83 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.468e-05/2.673, allocations: 31.88 kB / 3.01 GB, free: 50.8 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001415/2.674, allocations: 1.157 MB / 3.011 GB, free: 49.58 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/2.674, allocations: 12.03 kB / 3.011 GB, free: 49.57 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009299/2.675, allocations: 226.4 kB / 3.012 GB, free: 49.35 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/2.676, allocations: 0.6347 MB / 3.012 GB, free: 48.67 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/2.676, allocations: 28 kB / 3.012 GB, free: 48.64 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-05/2.676, allocations: 55.91 kB / 3.012 GB, free: 48.59 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001153/2.677, allocations: 1.027 MB / 3.013 GB, free: 47.56 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009728/2.678, allocations: 0.7858 MB / 3.014 GB, free: 46.73 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/2.678, allocations: 0 / 3.014 GB, free: 46.73 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-05/2.678, allocations: 0 / 3.014 GB, free: 46.73 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/2.678, allocations: 24 kB / 3.014 GB, free: 46.71 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/2.681, allocations: 2.422 MB / 3.016 GB, free: 44.23 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007838/2.682, allocations: 0.7362 MB / 3.017 GB, free: 43.46 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/2.682, allocations: 250.8 kB / 3.017 GB, free: 43.22 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004786/2.682, allocations: 482 kB / 3.018 GB, free: 42.66 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/2.683, allocations: 378.1 kB / 3.018 GB, free: 42.27 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 1.613e-06/2.683, allocations: 0 / 3.018 GB, free: 42.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001506/2.684, allocations: 0.7107 MB / 3.019 GB, free: 41.55 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/2.684, allocations: 240 kB / 3.019 GB, free: 41.26 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/2.685, allocations: 0.4983 MB / 3.02 GB, free: 40.75 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/2.685, allocations: 33.69 kB / 3.02 GB, free: 40.71 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/2.685, allocations: 328 kB / 3.02 GB, free: 40.39 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/2.685, allocations: 232.5 kB / 3.02 GB, free: 40.16 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/2.685, allocations: 0 / 3.02 GB, free: 40.16 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.539e-05/2.685, allocations: 374.8 kB / 3.02 GB, free: 39.78 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/2.686, allocations: 189.3 kB / 3.021 GB, free: 39.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/2.686, allocations: 294.4 kB / 3.021 GB, free: 39.28 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/2.686, allocations: 319 kB / 3.021 GB, free: 38.97 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/2.686, allocations: 0 / 3.021 GB, free: 38.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001404/2.688, allocations: 0.7186 MB / 3.022 GB, free: 38.24 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/2.688, allocations: 4 kB / 3.022 GB, free: 38.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/2.688, allocations: 3.938 kB / 3.022 GB, free: 38.23 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000558/2.688, allocations: 84.84 kB / 3.022 GB, free: 38.14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/2.689, allocations: 135.8 kB / 3.022 GB, free: 38.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/2.69, allocations: 1.461 MB / 3.024 GB, free: 36.43 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/2.691, allocations: 67.59 kB / 3.024 GB, free: 36.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/2.691, allocations: 23.98 kB / 3.024 GB, free: 36.34 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 (75): * Single equations (assignments): 74 * 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.0001157/2.691, allocations: 116.9 kB / 3.024 GB, free: 36.22 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/2.691, allocations: 71.16 kB / 3.024 GB, free: 36.15 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/2.693, allocations: 0.991 MB / 3.025 GB, free: 35.14 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/2.693, allocations: 16 kB / 3.025 GB, free: 35.13 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/2.693, allocations: 3.906 kB / 3.025 GB, free: 35.12 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/2.693, allocations: 3.984 kB / 3.025 GB, free: 35.12 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/2.695, allocations: 1.779 MB / 3.027 GB, free: 33.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/2.695, allocations: 7.922 kB / 3.027 GB, free: 33.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/2.696, allocations: 147.8 kB / 3.027 GB, free: 33.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004606/2.696, allocations: 88.67 kB / 3.027 GB, free: 33.05 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/2.696, allocations: 15.98 kB / 3.027 GB, free: 33.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/2.698, allocations: 1.477 MB / 3.028 GB, free: 31.44 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/2.698, allocations: 0 / 3.028 GB, free: 31.44 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001413/2.699, allocations: 0.8947 MB / 3.029 GB, free: 30.53 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/2.699, allocations: 279.8 kB / 3.029 GB, free: 30.23 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/2.7, allocations: 3.984 kB / 3.029 GB, free: 30.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/2.7, allocations: 55.95 kB / 3.029 GB, free: 30.18 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/2.7, allocations: 56.69 kB / 3.03 GB, free: 30.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/2.7, allocations: 23.98 kB / 3.03 GB, free: 30.09 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003103/2.701, allocations: 410.9 kB / 3.03 GB, free: 29.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007166/2.701, allocations: 370.8 kB / 3.03 GB, free: 29.33 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 (84): * Single equations (assignments): 81 * 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.001231/2.703, allocations: 1.066 MB / 3.031 GB, free: 28.37 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008486/2.703, allocations: 0.647 MB / 3.032 GB, free: 27.71 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/2.703, allocations: 0 / 3.032 GB, free: 27.71 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005182/2.704, allocations: 448.5 kB / 3.032 GB, free: 27.26 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007763/2.705, allocations: 218.7 kB / 3.033 GB, free: 27.05 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/2.707, allocations: 1.378 MB / 3.034 GB, free: 25.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/2.708, allocations: 1.148 MB / 3.035 GB, free: 24.47 MB / 1.151 GB Notification: Performance of SimCode: time 2.7e-07/2.708, allocations: 0 / 3.035 GB, free: 24.47 MB / 1.151 GB Notification: Performance of Templates: time 0.0196/2.728, allocations: 17.12 MB / 3.052 GB, free: 7.508 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches