Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [: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.776/1.776, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009729/0.0009729, allocations: 189.2 kB / 487 MB, free: 5.312 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.128/1.128, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.0008244/0.0008244, allocations: 88.69 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.891e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1845, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.638/2.822, allocations: 1.732 GB / 2.938 GB, free: 101.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/2.823, allocations: 87.2 kB / 2.938 GB, free: 101.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1632/2.986, allocations: 84.48 MB / 3.02 GB, free: 21.57 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.347e-05/2.986, allocations: 28 kB / 3.02 GB, free: 21.55 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.001932/2.988, allocations: 1.357 MB / 3.022 GB, free: 20.14 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/2.988, allocations: 8.031 kB / 3.022 GB, free: 20.13 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008902/2.989, allocations: 249.9 kB / 3.022 GB, free: 19.88 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009932/2.99, allocations: 0.7482 MB / 3.023 GB, free: 19.09 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/2.99, allocations: 80.19 kB / 3.023 GB, free: 19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/2.99, allocations: 75.98 kB / 3.023 GB, free: 18.93 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001574/2.992, allocations: 1.266 MB / 3.024 GB, free: 17.66 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/2.993, allocations: 1.058 MB / 3.025 GB, free: 16.54 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/2.993, allocations: 0 / 3.025 GB, free: 16.54 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/2.993, allocations: 0 / 3.025 GB, free: 16.54 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/2.993, allocations: 32 kB / 3.025 GB, free: 16.51 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/2.998, allocations: 3.573 MB / 3.029 GB, free: 12.82 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000922/2.999, allocations: 0.7907 MB / 3.029 GB, free: 12.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/2.999, allocations: 323.1 kB / 3.03 GB, free: 11.71 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.573e-05/2.999, allocations: 44.7 kB / 3.03 GB, free: 11.66 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/3, allocations: 491.8 kB / 3.03 GB, free: 11.16 MB / 1.151 GB Notification: Performance of pre-optimization done (n=93): time 2.023e-06/3, allocations: 3.938 kB / 3.03 GB, free: 11.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=93): time 0.001592/3.001, allocations: 0.8264 MB / 3.031 GB, free: 10.32 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/3.001, allocations: 248.1 kB / 3.031 GB, free: 10.02 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/3.002, allocations: 0.5778 MB / 3.032 GB, free: 9.438 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/3.002, allocations: 25.7 kB / 3.032 GB, free: 9.406 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/3.002, allocations: 435.7 kB / 3.032 GB, free: 8.973 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/3.002, allocations: 291.6 kB / 3.032 GB, free: 8.684 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/3.002, allocations: 7.938 kB / 3.032 GB, free: 8.676 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/3.002, allocations: 394.6 kB / 3.033 GB, free: 8.281 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/3.003, allocations: 266 kB / 3.033 GB, free: 8.023 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/3.003, allocations: 398.3 kB / 3.033 GB, free: 7.598 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/3.004, allocations: 334.8 kB / 3.034 GB, free: 7.27 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/3.004, allocations: 0 / 3.034 GB, free: 7.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001557/3.005, allocations: 0.8742 MB / 3.035 GB, free: 6.387 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/3.005, allocations: 4 kB / 3.035 GB, free: 6.383 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/3.005, allocations: 7.906 kB / 3.035 GB, free: 6.375 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/3.006, allocations: 88.77 kB / 3.035 GB, free: 6.285 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/3.007, allocations: 191.8 kB / 3.035 GB, free: 6.098 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/3.008, allocations: 1.469 MB / 3.036 GB, free: 4.504 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/3.009, allocations: 75.45 kB / 3.036 GB, free: 4.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/3.009, allocations: 39.97 kB / 3.036 GB, free: 4.391 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0001421/3.009, allocations: 120.7 kB / 3.037 GB, free: 4.266 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/3.009, allocations: 90.95 kB / 3.037 GB, free: 4.176 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/3.011, allocations: 1.201 MB / 3.038 GB, free: 2.961 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/3.011, allocations: 12 kB / 3.038 GB, free: 2.949 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/3.012, allocations: 3.906 kB / 3.038 GB, free: 2.945 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/3.012, allocations: 3.984 kB / 3.038 GB, free: 2.941 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/3.014, allocations: 2.208 MB / 3.04 GB, free: 0.6836 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/3.014, allocations: 0 / 3.04 GB, free: 0.6836 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006722/3.015, allocations: 183.8 kB / 3.04 GB, free: 0.5039 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/3.015, allocations: 88.78 kB / 3.04 GB, free: 424 kB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/3.015, allocations: 19.92 kB / 3.04 GB, free: 404 kB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3096/3.325, allocations: 1.482 MB / 3.042 GB, free: 0.5112 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/3.325, allocations: 3.828 kB / 3.042 GB, free: 0.5112 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001796/3.327, allocations: 1.002 MB / 3.043 GB, free: 0.511 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/3.327, allocations: 343.9 kB / 3.043 GB, free: 0.5109 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/3.327, allocations: 5.125 kB / 3.043 GB, free: 0.5109 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/3.328, allocations: 62.73 kB / 3.043 GB, free: 0.5109 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/3.328, allocations: 64.41 kB / 3.043 GB, free: 0.5109 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/3.328, allocations: 37.28 kB / 3.043 GB, free: 0.5109 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005052/3.329, allocations: 491.2 kB / 3.044 GB, free: 0.5108 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.001003/3.33, allocations: 410.8 kB / 3.044 GB, free: 0.5108 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 (107): * Single equations (assignments): 104 * 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.001348/3.331, allocations: 1.057 MB / 3.045 GB, free: 0.5107 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001189/3.332, allocations: 0.8402 MB / 3.046 GB, free: 0.5106 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/3.332, allocations: 0 / 3.046 GB, free: 0.5106 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006515/3.333, allocations: 0.5333 MB / 3.046 GB, free: 0.5105 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008992/3.334, allocations: 219 kB / 3.047 GB, free: 0.5105 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/3.338, allocations: 1.715 MB / 3.048 GB, free: 0.5101 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/3.338, allocations: 1.275 MB / 3.05 GB, free: 0.5094 GB / 1.151 GB Notification: Performance of SimCode: time 3.1e-07/3.338, allocations: 0 / 3.05 GB, free: 0.5094 GB / 1.151 GB Notification: Performance of Templates: time 0.02557/3.364, allocations: 19.46 MB / 3.069 GB, free: 0.5083 GB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches