Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [: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.728/1.728, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.000903/0.000903, allocations: 179.5 kB / 490.8 MB, free: 1.914 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.072/1.072, allocations: 221.4 MB / 0.7863 GB, free: 13.62 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.0008249/0.0008249, allocations: 90.14 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.1e-06/5.13e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1709, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.353/2.524, allocations: 1.731 GB / 2.943 GB, free: 141.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/2.524, allocations: 95.94 kB / 2.943 GB, free: 141.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1139/2.638, allocations: 59.25 MB / 3 GB, free: 81.88 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.222e-05/2.638, allocations: 24 kB / 3.001 GB, free: 81.86 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001475/2.639, allocations: 1.093 MB / 3.002 GB, free: 80.71 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/2.639, allocations: 8.031 kB / 3.002 GB, free: 80.71 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008045/2.64, allocations: 194.6 kB / 3.002 GB, free: 80.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007908/2.641, allocations: 0.6153 MB / 3.002 GB, free: 79.86 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/2.641, allocations: 28 kB / 3.002 GB, free: 79.83 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/2.641, allocations: 44 kB / 3.002 GB, free: 79.79 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001153/2.642, allocations: 0.964 MB / 3.003 GB, free: 78.82 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009046/2.643, allocations: 0.7154 MB / 3.004 GB, free: 78.07 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/2.643, allocations: 0 / 3.004 GB, free: 78.07 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/2.643, allocations: 0 / 3.004 GB, free: 78.07 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/2.643, allocations: 20 kB / 3.004 GB, free: 78.05 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/2.646, allocations: 2.239 MB / 3.006 GB, free: 75.75 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007344/2.647, allocations: 0.6354 MB / 3.007 GB, free: 75.11 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/2.647, allocations: 238.7 kB / 3.007 GB, free: 74.87 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.877e-05/2.647, allocations: 28.75 kB / 3.007 GB, free: 74.84 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/2.648, allocations: 374 kB / 3.008 GB, free: 74.46 MB / 1.151 GB Notification: Performance of pre-optimization done (n=71): time 1.583e-06/2.648, allocations: 0 / 3.008 GB, free: 74.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=71): time 0.001249/2.649, allocations: 0.6249 MB / 3.008 GB, free: 73.82 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/2.649, allocations: 247.8 kB / 3.008 GB, free: 73.52 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/2.649, allocations: 0.4983 MB / 3.009 GB, free: 73.02 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/2.649, allocations: 29.7 kB / 3.009 GB, free: 72.98 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/2.65, allocations: 288.2 kB / 3.009 GB, free: 72.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/2.65, allocations: 224.6 kB / 3.009 GB, free: 72.47 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/2.65, allocations: 0 / 3.009 GB, free: 72.47 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.575e-05/2.65, allocations: 374.8 kB / 3.01 GB, free: 72.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/2.65, allocations: 185.3 kB / 3.01 GB, free: 71.92 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/2.65, allocations: 294.4 kB / 3.01 GB, free: 71.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/2.651, allocations: 231.1 kB / 3.01 GB, free: 71.38 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/2.651, allocations: 4 kB / 3.01 GB, free: 71.37 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001194/2.652, allocations: 0.6404 MB / 3.011 GB, free: 70.72 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/2.652, allocations: 4.062 kB / 3.011 GB, free: 70.72 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/2.652, allocations: 4 kB / 3.011 GB, free: 70.71 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/2.652, allocations: 80.78 kB / 3.011 GB, free: 70.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/2.653, allocations: 135.8 kB / 3.011 GB, free: 70.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/2.654, allocations: 1.465 MB / 3.013 GB, free: 68.91 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/2.655, allocations: 67.52 kB / 3.013 GB, free: 68.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/2.655, allocations: 23.98 kB / 3.013 GB, free: 68.82 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 (74): * Single equations (assignments): 73 * 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.0001149/2.655, allocations: 128 kB / 3.013 GB, free: 68.69 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/2.655, allocations: 71.14 kB / 3.013 GB, free: 68.62 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/2.657, allocations: 0.8815 MB / 3.014 GB, free: 67.73 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/2.657, allocations: 8 kB / 3.014 GB, free: 67.72 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/2.657, allocations: 3.984 kB / 3.014 GB, free: 67.71 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/2.657, allocations: 3.984 kB / 3.014 GB, free: 67.71 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/2.657, allocations: 0.7242 MB / 3.015 GB, free: 66.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/2.657, allocations: 4 kB / 3.015 GB, free: 66.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/2.658, allocations: 143.8 kB / 3.015 GB, free: 66.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/2.658, allocations: 84.78 kB / 3.015 GB, free: 66.72 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/2.658, allocations: 11.98 kB / 3.015 GB, free: 66.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/2.66, allocations: 1.485 MB / 3.016 GB, free: 65.11 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.66, allocations: 0 / 3.016 GB, free: 65.11 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001156/2.661, allocations: 0.7372 MB / 3.017 GB, free: 64.34 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/2.661, allocations: 279.8 kB / 3.017 GB, free: 64.05 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/2.661, allocations: 7.984 kB / 3.017 GB, free: 64.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/2.662, allocations: 51.95 kB / 3.017 GB, free: 63.99 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/2.662, allocations: 48.61 kB / 3.017 GB, free: 63.95 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/2.662, allocations: 31.98 kB / 3.017 GB, free: 63.91 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003251/2.662, allocations: 410.9 kB / 3.018 GB, free: 63.52 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007341/2.663, allocations: 327.1 kB / 3.018 GB, free: 63.2 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001293/2.664, allocations: 1.048 MB / 3.019 GB, free: 62.25 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000867/2.665, allocations: 0.6273 MB / 3.02 GB, free: 61.61 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.665, allocations: 8.109 kB / 3.02 GB, free: 61.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005242/2.666, allocations: 436.5 kB / 3.02 GB, free: 61.16 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008043/2.667, allocations: 210.6 kB / 3.02 GB, free: 60.96 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/2.669, allocations: 1.307 MB / 3.022 GB, free: 59.61 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000548/2.67, allocations: 1.111 MB / 3.023 GB, free: 58.48 MB / 1.151 GB Notification: Performance of SimCode: time 7.22e-07/2.67, allocations: 0 / 3.023 GB, free: 58.48 MB / 1.151 GB Notification: Performance of Templates: time 0.02025/2.69, allocations: 16.5 MB / 3.039 GB, free: 42.14 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches