Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") [: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.726/1.726, allocations: 387.2 MB / 394.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009252/0.0009252, allocations: 185.8 kB / 487 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.082/1.082, allocations: 221.3 MB / 0.7819 GB, free: 6.832 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008231/0.0008232, allocations: 105.2 kB / 0.9213 GB, free: 43.75 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.58e-06, allocations: 0 / 1.066 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4925, allocations: 142.3 MB / 1.205 GB, free: 72.8 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.66/3.153, allocations: 1.735 GB / 2.94 GB, free: 309.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/3.153, allocations: 84.77 kB / 2.94 GB, free: 309.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.24/3.393, allocations: 119.5 MB / 3.057 GB, free: 205.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.802e-05/3.393, allocations: 59.98 kB / 3.057 GB, free: 205.7 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: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.003873/3.397, allocations: 2.318 MB / 3.059 GB, free: 203.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/3.397, allocations: 8.031 kB / 3.059 GB, free: 203.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/3.41, allocations: 2.177 MB / 3.061 GB, free: 201.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/3.412, allocations: 1.336 MB / 3.063 GB, free: 199.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.075e-05/3.412, allocations: 87.91 kB / 3.063 GB, free: 199.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/3.412, allocations: 140 kB / 3.063 GB, free: 199.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005132/3.418, allocations: 3.411 MB / 3.066 GB, free: 196.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003836/3.421, allocations: 2.692 MB / 3.069 GB, free: 193.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/3.421, allocations: 7.922 kB / 3.069 GB, free: 193.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/3.422, allocations: 0 / 3.069 GB, free: 193.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/3.422, allocations: 64 kB / 3.069 GB, free: 193.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/3.437, allocations: 9.348 MB / 3.078 GB, free: 183.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/3.44, allocations: 2.181 MB / 3.08 GB, free: 181.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/3.441, allocations: 1.185 MB / 3.081 GB, free: 180.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006318/3.442, allocations: 0.511 MB / 3.082 GB, free: 179.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001917/3.444, allocations: 1.454 MB / 3.083 GB, free: 178.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 5.55e-06/3.444, allocations: 0 / 3.083 GB, free: 178.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=222): time 0.005244/3.449, allocations: 2.609 MB / 3.086 GB, free: 175.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/3.449, allocations: 265.3 kB / 3.086 GB, free: 175.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/3.45, allocations: 0.7787 MB / 3.087 GB, free: 174.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001854/3.45, allocations: 29.7 kB / 3.087 GB, free: 174.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/3.451, allocations: 0.6989 MB / 3.088 GB, free: 173.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004712/3.451, allocations: 0.6848 MB / 3.088 GB, free: 173 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/3.451, allocations: 0 / 3.088 GB, free: 173 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.986e-05/3.452, allocations: 377.9 kB / 3.089 GB, free: 172.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/3.453, allocations: 0.9335 MB / 3.09 GB, free: 171.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/3.454, allocations: 1.122 MB / 3.091 GB, free: 170.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/3.457, allocations: 1.232 MB / 3.092 GB, free: 169.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/3.457, allocations: 0 / 3.092 GB, free: 169.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.005088/3.462, allocations: 2.691 MB / 3.094 GB, free: 166.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/3.462, allocations: 4.109 kB / 3.094 GB, free: 166.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/3.462, allocations: 7.938 kB / 3.095 GB, free: 166.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005855/3.462, allocations: 80.81 kB / 3.095 GB, free: 166.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/3.466, allocations: 0.6397 MB / 3.095 GB, free: 165.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/3.468, allocations: 1.465 MB / 3.097 GB, free: 164.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/3.471, allocations: 322.2 kB / 3.097 GB, free: 164 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/3.471, allocations: 99.89 kB / 3.097 GB, free: 163.9 MB / 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 (239): * Single equations (assignments): 238 * 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.0004478/3.472, allocations: 134.4 kB / 3.097 GB, free: 163.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/3.472, allocations: 154.1 kB / 3.097 GB, free: 163.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007801/3.48, allocations: 3.404 MB / 3.101 GB, free: 160.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/3.48, allocations: 20 kB / 3.101 GB, free: 160.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/3.48, allocations: 0 / 3.101 GB, free: 160.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.196e-05/3.48, allocations: 15.95 kB / 3.101 GB, free: 160.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009582/3.49, allocations: 6.04 MB / 3.107 GB, free: 154.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/3.49, allocations: 4 kB / 3.107 GB, free: 154.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003695/3.493, allocations: 0.6124 MB / 3.107 GB, free: 153.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005196/3.494, allocations: 88.78 kB / 3.107 GB, free: 153.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/3.494, allocations: 47.91 kB / 3.107 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/3.496, allocations: 1.492 MB / 3.109 GB, free: 151.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/3.496, allocations: 0 / 3.109 GB, free: 151.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005289/3.501, allocations: 2.783 MB / 3.111 GB, free: 148.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/3.502, allocations: 0.6582 MB / 3.112 GB, free: 148.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005574/3.503, allocations: 7.984 kB / 3.112 GB, free: 148.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/3.506, allocations: 243.7 kB / 3.112 GB, free: 148 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/3.506, allocations: 125.7 kB / 3.112 GB, free: 147.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/3.506, allocations: 91.91 kB / 3.113 GB, free: 147.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001029/3.507, allocations: 0.6677 MB / 3.113 GB, free: 147.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002268/3.509, allocations: 0.681 MB / 3.114 GB, free: 146.4 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 237 * 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.001929/3.511, allocations: 1.1 MB / 3.115 GB, free: 145.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003978/3.515, allocations: 2.495 MB / 3.117 GB, free: 142.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/3.515, allocations: 320 / 3.117 GB, free: 142.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002065/3.517, allocations: 1.43 MB / 3.119 GB, free: 141.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/3.519, allocations: 248.2 kB / 3.119 GB, free: 141.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008168/3.527, allocations: 3.425 MB / 3.122 GB, free: 137.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002573/3.53, allocations: 1.847 MB / 3.124 GB, free: 135.9 MB / 1.151 GB Notification: Performance of SimCode: time 5.71e-07/3.53, allocations: 0 / 3.124 GB, free: 135.9 MB / 1.151 GB Notification: Performance of Templates: time 0.05275/3.582, allocations: 41.41 MB / 3.165 GB, free: 94.58 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches