Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.348/1.348, allocations: 249.4 MB / 256.7 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 185.2 kB / 316 MB, free: 3.488 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.587/1.587, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.00121/0.00121, allocations: 90.39 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.883e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2925, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.199/5.492, allocations: 2.19 GB / 3.075 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/5.492, allocations: 97.38 kB / 3.075 GB, free: 213 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1212/5.613, allocations: 57.8 MB / 3.131 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.472e-05/5.613, allocations: 31.88 kB / 3.131 GB, free: 154.9 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.001815/5.615, allocations: 1.066 MB / 3.132 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/5.615, allocations: 12.02 kB / 3.133 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009235/5.616, allocations: 194.6 kB / 3.133 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008803/5.617, allocations: 0.6075 MB / 3.133 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/5.617, allocations: 24 kB / 3.133 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/5.617, allocations: 44 kB / 3.133 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001254/5.618, allocations: 0.9679 MB / 3.134 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009527/5.619, allocations: 0.696 MB / 3.135 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/5.619, allocations: 0 / 3.135 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/5.62, allocations: 0 / 3.135 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/5.62, allocations: 23.91 kB / 3.135 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/5.623, allocations: 2.224 MB / 3.137 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007858/5.623, allocations: 0.6231 MB / 3.138 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/5.624, allocations: 234.8 kB / 3.138 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.501e-05/5.624, allocations: 36.69 kB / 3.138 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004577/5.624, allocations: 377.9 kB / 3.138 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 2.044e-06/5.624, allocations: 0 / 3.138 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.001446/5.626, allocations: 0.621 MB / 3.139 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/5.626, allocations: 244 kB / 3.139 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/5.626, allocations: 0.4906 MB / 3.14 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/5.626, allocations: 29.7 kB / 3.14 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/5.627, allocations: 284.2 kB / 3.14 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/5.627, allocations: 232.5 kB / 3.14 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/5.627, allocations: 0 / 3.14 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/5.627, allocations: 374.8 kB / 3.141 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/5.627, allocations: 189.3 kB / 3.141 GB, free: 145 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/5.627, allocations: 286.4 kB / 3.141 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/5.628, allocations: 231.1 kB / 3.141 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/5.628, allocations: 0 / 3.141 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001287/5.629, allocations: 0.6404 MB / 3.142 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/5.629, allocations: 8.062 kB / 3.142 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/5.629, allocations: 0 / 3.142 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006438/5.63, allocations: 88.75 kB / 3.142 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/5.63, allocations: 135.8 kB / 3.142 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/5.632, allocations: 1.453 MB / 3.144 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/5.633, allocations: 67.52 kB / 3.144 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/5.633, allocations: 23.98 kB / 3.144 GB, free: 142 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 (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.0001495/5.633, allocations: 124.9 kB / 3.144 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/5.633, allocations: 67.16 kB / 3.144 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/5.635, allocations: 0.8934 MB / 3.145 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/5.635, allocations: 8 kB / 3.145 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/5.635, allocations: 0 / 3.145 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/5.635, allocations: 3.984 kB / 3.145 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007976/5.636, allocations: 0.7316 MB / 3.145 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/5.636, allocations: 0 / 3.145 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/5.636, allocations: 139.8 kB / 3.146 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/5.637, allocations: 92.64 kB / 3.146 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/5.637, allocations: 15.98 kB / 3.146 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/5.638, allocations: 1.476 MB / 3.147 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/5.638, allocations: 8.062 kB / 3.147 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0013/5.64, allocations: 0.7372 MB / 3.148 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/5.64, allocations: 267.9 kB / 3.148 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/5.64, allocations: 4 kB / 3.148 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005223/5.641, allocations: 55.95 kB / 3.148 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/5.641, allocations: 48.61 kB / 3.148 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/5.641, allocations: 35.97 kB / 3.148 GB, free: 137 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000446/5.641, allocations: 398.9 kB / 3.149 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00101/5.642, allocations: 303.1 kB / 3.149 GB, free: 136.4 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 (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.001639/5.644, allocations: 1.006 MB / 3.15 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001262/5.645, allocations: 0.6234 MB / 3.15 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/5.645, allocations: 4 kB / 3.15 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006603/5.646, allocations: 444.6 kB / 3.151 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/5.647, allocations: 200.9 kB / 3.151 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/5.651, allocations: 1.299 MB / 3.152 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008307/5.652, allocations: 1.115 MB / 3.153 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.192e-06/5.652, allocations: 0 / 3.153 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.02496/5.677, allocations: 16.18 MB / 3.169 GB, free: 115.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches