Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [: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.752/1.752, 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.0009104/0.0009105, allocations: 189.2 kB / 487 MB, free: 5.383 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.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 1.457 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.0008013/0.0008014, allocations: 94.88 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.079e-06/5.109e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1971, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.634/2.831, allocations: 1.734 GB / 2.94 GB, free: 120.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/2.831, allocations: 84.7 kB / 2.94 GB, free: 120.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1984/3.03, allocations: 100.2 MB / 3.038 GB, free: 19.56 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.6e-05/3.03, allocations: 47.94 kB / 3.038 GB, free: 19.51 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.003203/3.033, allocations: 2.005 MB / 3.04 GB, free: 17.45 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/3.033, allocations: 8.031 kB / 3.04 GB, free: 17.45 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/3.045, allocations: 2.135 MB / 3.042 GB, free: 15.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/3.046, allocations: 1.056 MB / 3.043 GB, free: 14.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/3.047, allocations: 64 kB / 3.043 GB, free: 14.14 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/3.047, allocations: 112 kB / 3.043 GB, free: 14.03 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004017/3.051, allocations: 2.858 MB / 3.046 GB, free: 11.17 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/3.054, allocations: 2.173 MB / 3.048 GB, free: 8.961 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/3.054, allocations: 7.844 kB / 3.048 GB, free: 8.953 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/3.054, allocations: 4 kB / 3.048 GB, free: 8.949 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/3.054, allocations: 48 kB / 3.048 GB, free: 8.902 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/3.066, allocations: 6.882 MB / 3.055 GB, free: 1.852 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3098/3.376, allocations: 1.84 MB / 3.056 GB, free: 0.5064 GB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/3.378, allocations: 1.005 MB / 3.057 GB, free: 0.5064 GB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/3.379, allocations: 0.5045 MB / 3.058 GB, free: 0.5059 GB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/3.38, allocations: 1.255 MB / 3.059 GB, free: 0.5058 GB / 1.151 GB Notification: Performance of pre-optimization done (n=195): time 3.937e-06/3.38, allocations: 1.344 kB / 3.059 GB, free: 0.5058 GB / 1.151 GB Notification: Performance of matching and sorting (n=195): time 0.004329/3.384, allocations: 2.236 MB / 3.061 GB, free: 0.5057 GB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/3.384, allocations: 256.5 kB / 3.061 GB, free: 0.5055 GB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006935/3.385, allocations: 0.6411 MB / 3.062 GB, free: 0.5053 GB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/3.385, allocations: 28.77 kB / 3.062 GB, free: 0.5053 GB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/3.386, allocations: 0.5476 MB / 3.063 GB, free: 0.5051 GB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/3.386, allocations: 0.6057 MB / 3.063 GB, free: 0.5048 GB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/3.386, allocations: 0 / 3.063 GB, free: 0.5048 GB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001071/3.386, allocations: 423.8 kB / 3.064 GB, free: 0.5045 GB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/3.387, allocations: 0.7649 MB / 3.064 GB, free: 0.5045 GB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/3.389, allocations: 0.9485 MB / 3.065 GB, free: 0.5044 GB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/3.39, allocations: 1.029 MB / 3.066 GB, free: 0.5044 GB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/3.39, allocations: 0 / 3.066 GB, free: 0.5044 GB / 1.151 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004331/3.395, allocations: 2.289 MB / 3.069 GB, free: 0.5042 GB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/3.395, allocations: 3.219 kB / 3.069 GB, free: 0.5042 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/3.395, allocations: 3.688 kB / 3.069 GB, free: 0.5042 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/3.395, allocations: 88.36 kB / 3.069 GB, free: 0.5042 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003484/3.399, allocations: 0.578 MB / 3.069 GB, free: 0.5042 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/3.4, allocations: 1.46 MB / 3.071 GB, free: 0.503 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/3.403, allocations: 307.2 kB / 3.071 GB, free: 0.503 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/3.403, allocations: 87.42 kB / 3.071 GB, free: 0.503 GB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (206): * Single equations (assignments): 205 * 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.000342/3.404, allocations: 135.4 kB / 3.071 GB, free: 0.5029 GB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/3.404, allocations: 128.4 kB / 3.071 GB, free: 0.5028 GB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006149/3.41, allocations: 2.93 MB / 3.074 GB, free: 0.5027 GB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/3.41, allocations: 19.22 kB / 3.074 GB, free: 0.5027 GB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/3.41, allocations: 0 / 3.074 GB, free: 0.5027 GB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/3.41, allocations: 13.41 kB / 3.074 GB, free: 0.5027 GB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007053/3.417, allocations: 4.885 MB / 3.079 GB, free: 0.5023 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/3.417, allocations: 0 / 3.079 GB, free: 0.5023 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003229/3.42, allocations: 0.5659 MB / 3.079 GB, free: 0.5023 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/3.421, allocations: 86.89 kB / 3.08 GB, free: 0.5023 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/3.421, allocations: 52.06 kB / 3.08 GB, free: 0.5023 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/3.422, allocations: 1.483 MB / 3.081 GB, free: 0.5011 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/3.422, allocations: 0 / 3.081 GB, free: 0.5011 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004034/3.426, allocations: 2.424 MB / 3.083 GB, free: 0.5008 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006737/3.427, allocations: 0.5326 MB / 3.084 GB, free: 0.5007 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/3.427, allocations: 3.812 kB / 3.084 GB, free: 0.5007 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/3.43, allocations: 247.7 kB / 3.084 GB, free: 0.5007 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/3.43, allocations: 110.8 kB / 3.084 GB, free: 0.5007 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/3.43, allocations: 83.42 kB / 3.084 GB, free: 0.5007 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005051/3.431, allocations: 0.5341 MB / 3.085 GB, free: 0.5006 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.00141/3.432, allocations: 0.5977 MB / 3.085 GB, free: 0.5005 GB / 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 (210): * Single equations (assignments): 207 * 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.001444/3.434, allocations: 1.085 MB / 3.087 GB, free: 0.5004 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002826/3.437, allocations: 2.129 MB / 3.089 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/3.437, allocations: 0 / 3.089 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/3.438, allocations: 1.249 MB / 3.09 GB, free: 0.5002 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009988/3.439, allocations: 235.8 kB / 3.09 GB, free: 0.5002 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005471/3.445, allocations: 2.826 MB / 3.093 GB, free: 0.4995 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/3.447, allocations: 1.648 MB / 3.094 GB, free: 0.4988 GB / 1.151 GB Notification: Performance of SimCode: time 2.9e-07/3.447, allocations: 0.8438 kB / 3.094 GB, free: 0.4988 GB / 1.151 GB Notification: Performance of Templates: time 0.05613/3.503, allocations: 36.76 MB / 3.13 GB, free: 0.4924 GB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches