Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.793/1.793, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001009/0.001009, allocations: 173.3 kB / 487 MB, free: 5.371 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.12/1.12, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0008117/0.0008117, allocations: 96.62 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.091e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1936, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.588/2.781, allocations: 1.73 GB / 2.935 GB, free: 128.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/2.781, allocations: 99.88 kB / 2.935 GB, free: 128.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1136/2.895, allocations: 59.25 MB / 2.993 GB, free: 68.94 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.778e-05/2.895, allocations: 24 kB / 2.993 GB, free: 68.91 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.001379/2.897, allocations: 1.09 MB / 2.994 GB, free: 67.77 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/2.897, allocations: 8.031 kB / 2.994 GB, free: 67.77 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007848/2.897, allocations: 202.5 kB / 2.995 GB, free: 67.57 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/2.898, allocations: 0.6075 MB / 2.995 GB, free: 66.92 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/2.898, allocations: 24 kB / 2.995 GB, free: 66.89 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/2.898, allocations: 44 kB / 2.995 GB, free: 66.85 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001086/2.899, allocations: 0.9679 MB / 2.996 GB, free: 65.88 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008857/2.9, allocations: 0.7193 MB / 2.997 GB, free: 65.12 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/2.9, allocations: 0 / 2.997 GB, free: 65.12 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/2.9, allocations: 4 kB / 2.997 GB, free: 65.12 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/2.9, allocations: 20 kB / 2.997 GB, free: 65.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/2.903, allocations: 2.243 MB / 2.999 GB, free: 62.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/2.904, allocations: 0.627 MB / 3 GB, free: 62.16 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/2.904, allocations: 234.8 kB / 3 GB, free: 61.93 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-05/2.904, allocations: 36.75 kB / 3 GB, free: 61.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/2.904, allocations: 374 kB / 3 GB, free: 61.51 MB / 1.151 GB Notification: Performance of pre-optimization done (n=71): time 1.644e-06/2.904, allocations: 0 / 3 GB, free: 61.51 MB / 1.151 GB Notification: Performance of matching and sorting (n=71): time 0.001262/2.906, allocations: 0.6248 MB / 3.001 GB, free: 60.88 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/2.906, allocations: 240 kB / 3.001 GB, free: 60.59 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/2.906, allocations: 0.5061 MB / 3.002 GB, free: 60.07 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/2.906, allocations: 25.7 kB / 3.002 GB, free: 60.04 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/2.906, allocations: 288.2 kB / 3.002 GB, free: 59.75 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/2.907, allocations: 228.6 kB / 3.002 GB, free: 59.53 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/2.907, allocations: 4 kB / 3.002 GB, free: 59.52 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.104e-05/2.907, allocations: 374.8 kB / 3.003 GB, free: 59.15 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/2.907, allocations: 185.3 kB / 3.003 GB, free: 58.97 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/2.907, allocations: 286.4 kB / 3.003 GB, free: 58.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/2.907, allocations: 235.1 kB / 3.003 GB, free: 58.43 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/2.907, allocations: 4 kB / 3.003 GB, free: 58.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001213/2.909, allocations: 0.6365 MB / 3.004 GB, free: 57.78 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/2.909, allocations: 11.94 kB / 3.004 GB, free: 57.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/2.909, allocations: 3.984 kB / 3.004 GB, free: 57.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/2.909, allocations: 80.84 kB / 3.004 GB, free: 57.68 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/2.91, allocations: 139.7 kB / 3.004 GB, free: 57.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/2.911, allocations: 1.457 MB / 3.006 GB, free: 55.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/2.912, allocations: 67.52 kB / 3.006 GB, free: 55.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/2.912, allocations: 27.98 kB / 3.006 GB, free: 55.87 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.0001173/2.912, allocations: 112.9 kB / 3.006 GB, free: 55.75 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/2.912, allocations: 71.16 kB / 3.006 GB, free: 55.68 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/2.914, allocations: 0.8895 MB / 3.007 GB, free: 54.78 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/2.914, allocations: 12 kB / 3.007 GB, free: 54.77 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/2.914, allocations: 4 kB / 3.007 GB, free: 54.77 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/2.914, allocations: 3.984 kB / 3.007 GB, free: 54.76 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/2.914, allocations: 0.7211 MB / 3.007 GB, free: 54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/2.914, allocations: 0 / 3.007 GB, free: 54 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/2.915, allocations: 143.8 kB / 3.008 GB, free: 53.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/2.915, allocations: 80.78 kB / 3.008 GB, free: 53.78 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/2.915, allocations: 15.98 kB / 3.008 GB, free: 53.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/2.917, allocations: 1.492 MB / 3.009 GB, free: 52.15 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/2.917, allocations: 4 kB / 3.009 GB, free: 52.15 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001178/2.918, allocations: 0.7333 MB / 3.01 GB, free: 51.39 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/2.918, allocations: 264 kB / 3.01 GB, free: 51.11 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/2.918, allocations: 3.906 kB / 3.01 GB, free: 51.11 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/2.919, allocations: 59.94 kB / 3.01 GB, free: 51.05 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/2.919, allocations: 48.7 kB / 3.01 GB, free: 51 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/2.919, allocations: 31.98 kB / 3.01 GB, free: 50.97 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000326/2.919, allocations: 402.9 kB / 3.011 GB, free: 50.58 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007544/2.92, allocations: 331.1 kB / 3.011 GB, free: 50.26 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.001263/2.921, allocations: 1.051 MB / 3.012 GB, free: 49.31 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008698/2.922, allocations: 0.6351 MB / 3.013 GB, free: 48.66 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/2.922, allocations: 3.938 kB / 3.013 GB, free: 48.66 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000532/2.923, allocations: 432.6 kB / 3.013 GB, free: 48.23 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007878/2.924, allocations: 210.4 kB / 3.013 GB, free: 48.03 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/2.926, allocations: 1.314 MB / 3.014 GB, free: 46.68 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/2.927, allocations: 1.111 MB / 3.016 GB, free: 45.54 MB / 1.151 GB Notification: Performance of SimCode: time 7.72e-07/2.927, allocations: 0 / 3.016 GB, free: 45.54 MB / 1.151 GB Notification: Performance of Templates: time 0.01999/2.947, allocations: 16.51 MB / 3.032 GB, free: 29.17 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches