Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.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 7.0.3-maint.7.0.x/package.mo): time 1.307/1.307, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 190 kB / 316 MB, free: 7.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.1 MB / 0.5667 GB, free: 23.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009197/0.0009198, allocations: 88.41 kB / 0.671 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 5.601e-06/5.611e-06, allocations: 0 / 0.7807 GB, free: 476 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.5088, allocations: 106.3 MB / 0.8846 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.348/5.856, allocations: 2.19 GB / 3.075 GB, free: 318.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003989/5.857, allocations: 85.95 kB / 3.075 GB, free: 318 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1658/6.023, allocations: 78.62 MB / 3.151 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001006/6.023, allocations: 31.94 kB / 3.151 GB, free: 239.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002195/6.025, allocations: 1.269 MB / 3.153 GB, free: 238 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/6.025, allocations: 8.031 kB / 3.153 GB, free: 238 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009837/6.026, allocations: 226.1 kB / 3.153 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/6.027, allocations: 0.7172 MB / 3.154 GB, free: 237 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/6.027, allocations: 36 kB / 3.154 GB, free: 237 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/6.027, allocations: 67.91 kB / 3.154 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001539/6.029, allocations: 1.109 MB / 3.155 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/6.03, allocations: 0.9139 MB / 3.156 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/6.03, allocations: 0 / 3.156 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.002e-05/6.03, allocations: 7.984 kB / 3.156 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/6.03, allocations: 28 kB / 3.156 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/6.034, allocations: 2.813 MB / 3.158 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009209/6.035, allocations: 0.6843 MB / 3.159 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/6.036, allocations: 254.8 kB / 3.159 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-05/6.036, allocations: 40.53 kB / 3.159 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000526/6.036, allocations: 398 kB / 3.16 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 4.008e-06/6.036, allocations: 0 / 3.16 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78): time 0.001686/6.038, allocations: 0.6716 MB / 3.16 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/6.038, allocations: 251.9 kB / 3.161 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007032/6.039, allocations: 0.5465 MB / 3.161 GB, free: 229 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/6.039, allocations: 29.7 kB / 3.161 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/6.039, allocations: 403.5 kB / 3.162 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/6.039, allocations: 244.3 kB / 3.162 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/6.039, allocations: 112 / 3.162 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001272/6.04, allocations: 390.7 kB / 3.162 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/6.04, allocations: 205.5 kB / 3.162 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/6.04, allocations: 315.5 kB / 3.163 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/6.041, allocations: 256.5 kB / 3.163 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/6.041, allocations: 0 / 3.163 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001419/6.042, allocations: 0.7093 MB / 3.164 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/6.042, allocations: 4 kB / 3.164 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/6.042, allocations: 4 kB / 3.164 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/6.043, allocations: 80.84 kB / 3.164 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/6.044, allocations: 151.8 kB / 3.164 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/6.045, allocations: 1.465 MB / 3.165 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/6.046, allocations: 67.52 kB / 3.165 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/6.046, allocations: 27.98 kB / 3.165 GB, free: 224.5 MB / 0.8698 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 (83): * Single equations (assignments): 82 * 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.0001972/6.046, allocations: 119.3 kB / 3.166 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/6.046, allocations: 86.97 kB / 3.166 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/6.048, allocations: 0.9456 MB / 3.167 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/6.048, allocations: 12 kB / 3.167 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/6.048, allocations: 7.906 kB / 3.167 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/6.049, allocations: 3.984 kB / 3.167 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009981/6.05, allocations: 0.8409 MB / 3.167 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/6.05, allocations: 0 / 3.167 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/6.05, allocations: 155.8 kB / 3.167 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005052/6.051, allocations: 88.77 kB / 3.168 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/6.051, allocations: 11.98 kB / 3.168 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/6.052, allocations: 1.469 MB / 3.169 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/6.052, allocations: 3.906 kB / 3.169 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001356/6.054, allocations: 0.7841 MB / 3.17 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/6.054, allocations: 283.7 kB / 3.17 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/6.054, allocations: 8 kB / 3.17 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/6.055, allocations: 59.84 kB / 3.17 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/6.055, allocations: 52.84 kB / 3.17 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/6.055, allocations: 39.86 kB / 3.17 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004694/6.055, allocations: 455.1 kB / 3.171 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001084/6.056, allocations: 338.7 kB / 3.171 GB, free: 218.5 MB / 0.8698 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 (89): * Single equations (assignments): 86 * 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.001578/6.058, allocations: 1.011 MB / 3.172 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001175/6.059, allocations: 0.6941 MB / 3.173 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/6.059, allocations: 0 / 3.173 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000615/6.06, allocations: 464.6 kB / 3.173 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/6.061, allocations: 221.1 kB / 3.173 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/6.065, allocations: 1.537 MB / 3.175 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007342/6.065, allocations: 1.213 MB / 3.176 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/6.065, allocations: 0 / 3.176 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.0265/6.092, allocations: 17.01 MB / 3.193 GB, free: 196.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches