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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001473/0.001473, allocations: 182.8 kB / 498.1 MB, free: 5.758 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.686/1.686, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.001053/0.001052, allocations: 98.23 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 8.594 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.307, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.44/4.747, allocations: 1.736 GB / 2.959 GB, free: 249.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003605/4.748, allocations: 92.08 kB / 2.959 GB, free: 249.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2541/5.002, allocations: 119.5 MB / 3.075 GB, free: 144.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.156e-06/5.002, allocations: 0 / 3.075 GB, free: 144.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001186/5.002, allocations: 55.94 kB / 3.075 GB, free: 144.1 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: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.005102/5.007, allocations: 2.41 MB / 3.078 GB, free: 141.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/5.007, allocations: 8.031 kB / 3.078 GB, free: 141.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/5.021, allocations: 1.94 MB / 3.08 GB, free: 139.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/5.024, allocations: 1.332 MB / 3.081 GB, free: 138.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/5.024, allocations: 189 kB / 3.081 GB, free: 138.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004403/5.025, allocations: 240 kB / 3.081 GB, free: 137.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008935/5.034, allocations: 3.669 MB / 3.085 GB, free: 134.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/5.034, allocations: 0 / 3.085 GB, free: 134.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/5.034, allocations: 100 kB / 3.085 GB, free: 134 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/5.034, allocations: 68 kB / 3.085 GB, free: 133.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/5.047, allocations: 4.758 MB / 3.09 GB, free: 129.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01744/5.064, allocations: 8.838 MB / 3.098 GB, free: 120.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007683/5.072, allocations: 3.075 MB / 3.101 GB, free: 117.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006719/5.073, allocations: 0.5152 MB / 3.102 GB, free: 116.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004715/5.077, allocations: 1.903 MB / 3.104 GB, free: 114.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 4.177e-06/5.077, allocations: 3.938 kB / 3.104 GB, free: 114.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=222): time 0.01401/5.092, allocations: 4.788 MB / 3.108 GB, free: 109.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/5.092, allocations: 261.4 kB / 3.109 GB, free: 109.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/5.093, allocations: 1.005 MB / 3.11 GB, free: 108.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003236/5.094, allocations: 69.7 kB / 3.11 GB, free: 108.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006507/5.094, allocations: 0.8129 MB / 3.11 GB, free: 107.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005966/5.095, allocations: 0.7276 MB / 3.111 GB, free: 106.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/5.095, allocations: 39.94 kB / 3.111 GB, free: 106.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001208/5.095, allocations: 374.4 kB / 3.112 GB, free: 106.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/5.099, allocations: 1.347 MB / 3.113 GB, free: 105.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004021/5.103, allocations: 1.547 MB / 3.114 GB, free: 103.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/5.107, allocations: 1.423 MB / 3.116 GB, free: 102.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/5.107, allocations: 0 / 3.116 GB, free: 102.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009493/5.117, allocations: 3.327 MB / 3.119 GB, free: 98.72 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/5.117, allocations: 4 kB / 3.119 GB, free: 98.71 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/5.117, allocations: 8.062 kB / 3.119 GB, free: 98.71 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000577/5.117, allocations: 84.77 kB / 3.119 GB, free: 98.62 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003741/5.121, allocations: 0.628 MB / 3.12 GB, free: 97.99 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/5.123, allocations: 1.536 MB / 3.121 GB, free: 96.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003318/5.126, allocations: 373.9 kB / 3.122 GB, free: 95.95 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/5.126, allocations: 103.9 kB / 3.122 GB, free: 95.85 MB / 1.167 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 () * Number of clocked 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.001558/5.128, allocations: 480.2 kB / 3.122 GB, free: 95.37 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005174/5.128, allocations: 169.9 kB / 3.122 GB, free: 95.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/5.14, allocations: 4.014 MB / 3.126 GB, free: 91.16 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/5.14, allocations: 24 kB / 3.126 GB, free: 91.14 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/5.14, allocations: 0 / 3.126 GB, free: 91.14 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/5.141, allocations: 19.84 kB / 3.126 GB, free: 91.12 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/5.156, allocations: 6.967 MB / 3.133 GB, free: 84.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/5.157, allocations: 0 / 3.133 GB, free: 84.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00381/5.16, allocations: 0.5968 MB / 3.134 GB, free: 83.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005079/5.161, allocations: 96.72 kB / 3.134 GB, free: 83.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002936/5.161, allocations: 75.92 kB / 3.134 GB, free: 83.33 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/5.163, allocations: 1.556 MB / 3.135 GB, free: 81.63 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/5.163, allocations: 0 / 3.135 GB, free: 81.63 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/5.173, allocations: 3.447 MB / 3.139 GB, free: 78.16 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/5.174, allocations: 0.6814 MB / 3.139 GB, free: 77.46 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006858/5.175, allocations: 44.06 kB / 3.139 GB, free: 77.42 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/5.178, allocations: 275.7 kB / 3.14 GB, free: 77.15 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/5.179, allocations: 137.8 kB / 3.14 GB, free: 77.02 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000291/5.179, allocations: 91.91 kB / 3.14 GB, free: 76.93 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001693/5.181, allocations: 0.8566 MB / 3.141 GB, free: 76.07 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.8e-07/5.181, allocations: 3.938 kB / 3.141 GB, free: 76.06 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002882/5.184, allocations: 0.7595 MB / 3.142 GB, free: 75.3 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 (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.002483/5.186, allocations: 1.132 MB / 3.143 GB, free: 74.35 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01039/5.197, allocations: 3.342 MB / 3.146 GB, free: 71 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/5.197, allocations: 0 / 3.146 GB, free: 71 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005545/5.202, allocations: 1.857 MB / 3.148 GB, free: 69.13 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/5.204, allocations: 305.4 kB / 3.148 GB, free: 68.83 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/5.217, allocations: 5.572 MB / 3.153 GB, free: 63.23 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/5.218, allocations: 1.544 MB / 3.155 GB, free: 61.65 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004944/5.223, allocations: 0.5997 MB / 3.156 GB, free: 61.05 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/5.225, allocations: 251.2 kB / 3.156 GB, free: 60.8 MB / 1.167 GB Notification: Performance of SimCode: time 8.11e-07/5.225, allocations: 0 / 3.156 GB, free: 60.8 MB / 1.167 GB Notification: Performance of Templates: time 0.05367/5.278, allocations: 37.73 MB / 3.193 GB, free: 23.18 MB / 1.167 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