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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001322/0.001323, allocations: 179.3 kB / 498.1 MB, free: 5.707 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.816/1.816, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002276/0.002275, allocations: 106.2 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004136/0.0004141, allocations: 6.844 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3324, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.429/4.761, allocations: 1.733 GB / 2.956 GB, free: 286 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/4.762, allocations: 87.95 kB / 2.956 GB, free: 285.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1718/4.933, allocations: 84.4 MB / 3.039 GB, free: 201.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.486e-06/4.933, allocations: 0 / 3.039 GB, free: 201.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.773e-05/4.934, allocations: 28 kB / 3.039 GB, free: 201.2 MB / 1.167 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.002434/4.936, allocations: 1.442 MB / 3.04 GB, free: 199.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/4.936, allocations: 12.03 kB / 3.04 GB, free: 199.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008623/4.937, allocations: 234 kB / 3.04 GB, free: 199.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/4.938, allocations: 0.7482 MB / 3.041 GB, free: 198.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/4.938, allocations: 120.2 kB / 3.041 GB, free: 198.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/4.938, allocations: 120 kB / 3.041 GB, free: 198.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/4.94, allocations: 1.274 MB / 3.042 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/4.94, allocations: 0 / 3.042 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/4.94, allocations: 55.95 kB / 3.043 GB, free: 197 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/4.94, allocations: 32 kB / 3.043 GB, free: 197 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/4.942, allocations: 1.391 MB / 3.044 GB, free: 195.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005004/4.947, allocations: 3.556 MB / 3.047 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/4.948, allocations: 0.9084 MB / 3.048 GB, free: 191 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.56e-05/4.949, allocations: 44.92 kB / 3.048 GB, free: 191 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008103/4.949, allocations: 0.5552 MB / 3.049 GB, free: 190.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=93): time 3.026e-06/4.949, allocations: 0 / 3.049 GB, free: 190.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=93): time 0.003125/4.952, allocations: 1.392 MB / 3.05 GB, free: 189 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/4.953, allocations: 249.4 kB / 3.05 GB, free: 188.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00089/4.953, allocations: 0.7071 MB / 3.051 GB, free: 188 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.991e-05/4.954, allocations: 45.7 kB / 3.051 GB, free: 187.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/4.954, allocations: 0.5 MB / 3.052 GB, free: 187.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/4.954, allocations: 311.5 kB / 3.052 GB, free: 187.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/4.954, allocations: 16 kB / 3.052 GB, free: 187.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/4.954, allocations: 341.9 kB / 3.052 GB, free: 186.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/4.955, allocations: 305.8 kB / 3.053 GB, free: 186.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/4.955, allocations: 440.2 kB / 3.053 GB, free: 186 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005719/4.956, allocations: 378.8 kB / 3.053 GB, free: 185.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/4.956, allocations: 0 / 3.053 GB, free: 185.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001882/4.958, allocations: 0.9697 MB / 3.054 GB, free: 184.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/4.958, allocations: 11.94 kB / 3.054 GB, free: 184.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/4.958, allocations: 4.062 kB / 3.054 GB, free: 184.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006043/4.958, allocations: 80.77 kB / 3.054 GB, free: 184.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007596/4.959, allocations: 187.8 kB / 3.055 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/4.961, allocations: 1.552 MB / 3.056 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008426/4.962, allocations: 107.1 kB / 3.056 GB, free: 182.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/4.962, allocations: 39.97 kB / 3.056 GB, free: 182.5 MB / 1.167 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 () * Number of clocked 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.0006588/4.963, allocations: 293.6 kB / 3.057 GB, free: 182.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/4.963, allocations: 98.78 kB / 3.057 GB, free: 182.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/4.965, allocations: 1.313 MB / 3.058 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/4.965, allocations: 12 kB / 3.058 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/4.965, allocations: 0 / 3.058 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/4.965, allocations: 3.984 kB / 3.058 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003619/4.969, allocations: 2.462 MB / 3.06 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/4.969, allocations: 0 / 3.06 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/4.97, allocations: 191.7 kB / 3.061 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005383/4.97, allocations: 80.77 kB / 3.061 GB, free: 178 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/4.97, allocations: 31.98 kB / 3.061 GB, free: 178 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/4.972, allocations: 1.575 MB / 3.062 GB, free: 176.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/4.972, allocations: 8.031 kB / 3.062 GB, free: 176.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/4.974, allocations: 1.113 MB / 3.063 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005446/4.974, allocations: 359.2 kB / 3.064 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/4.974, allocations: 16 kB / 3.064 GB, free: 174.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/4.975, allocations: 83.88 kB / 3.064 GB, free: 174.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/4.975, allocations: 72.89 kB / 3.064 GB, free: 174.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/4.975, allocations: 35.98 kB / 3.064 GB, free: 174.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007386/4.976, allocations: 0.5927 MB / 3.064 GB, free: 174 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/4.976, allocations: 3.938 kB / 3.064 GB, free: 174 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001345/4.978, allocations: 438.7 kB / 3.065 GB, free: 173.5 MB / 1.167 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) * Number of clocked states: 0 () * 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.002016/4.98, allocations: 1.075 MB / 3.066 GB, free: 172.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001763/4.981, allocations: 0.9328 MB / 3.067 GB, free: 171.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/4.981, allocations: 7.938 kB / 3.067 GB, free: 171.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008802/4.982, allocations: 0.5785 MB / 3.067 GB, free: 171.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/4.983, allocations: 256.2 kB / 3.068 GB, free: 170.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/4.988, allocations: 2.728 MB / 3.07 GB, free: 168.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/4.989, allocations: 1.146 MB / 3.071 GB, free: 166.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001156/4.99, allocations: 303.5 kB / 3.072 GB, free: 166.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/4.99, allocations: 119.4 kB / 3.072 GB, free: 166.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.514e-06/4.99, allocations: 0 / 3.072 GB, free: 166.5 MB / 1.167 GB Notification: Performance of Templates: time 0.03506/5.026, allocations: 23.25 MB / 3.094 GB, free: 143.4 MB / 1.167 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