Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.317/2.317, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001702/0.001703, allocations: 191.5 kB / 0.4902 GB, free: 2.289 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.749/1.749, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001275/0.001275, allocations: 96.28 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 10.34 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.388/4.714, allocations: 1.732 GB / 2.962 GB, free: 218.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/4.715, allocations: 96.5 kB / 2.962 GB, free: 218.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1384/4.853, allocations: 65.75 MB / 3.026 GB, free: 162.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.348e-06/4.853, allocations: 0 / 3.026 GB, free: 162.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001395/4.853, allocations: 23.94 kB / 3.026 GB, free: 162.3 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003415/4.857, allocations: 1.24 MB / 3.027 GB, free: 161.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/4.857, allocations: 16.03 kB / 3.027 GB, free: 161.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/4.859, allocations: 302.3 kB / 3.027 GB, free: 160.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/4.86, allocations: 0.6291 MB / 3.028 GB, free: 160.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/4.86, allocations: 70.31 kB / 3.028 GB, free: 160.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/4.86, allocations: 87.06 kB / 3.028 GB, free: 160.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/4.862, allocations: 1.003 MB / 3.029 GB, free: 159.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/4.862, allocations: 0 / 3.029 GB, free: 159.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/4.862, allocations: 40.95 kB / 3.029 GB, free: 159.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/4.862, allocations: 24 kB / 3.029 GB, free: 159.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/4.864, allocations: 1.229 MB / 3.03 GB, free: 158.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/4.868, allocations: 2.605 MB / 3.033 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/4.87, allocations: 0.9456 MB / 3.034 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.799e-05/4.87, allocations: 36.42 kB / 3.034 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008623/4.871, allocations: 491.2 kB / 3.034 GB, free: 155.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=75): time 3.727e-06/4.871, allocations: 0 / 3.034 GB, free: 155.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=75): time 0.003318/4.874, allocations: 1.256 MB / 3.036 GB, free: 154.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/4.874, allocations: 244 kB / 3.036 GB, free: 153.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007229/4.875, allocations: 0.5916 MB / 3.036 GB, free: 153.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/4.875, allocations: 40.27 kB / 3.036 GB, free: 153.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/4.875, allocations: 398.4 kB / 3.037 GB, free: 153.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/4.875, allocations: 259.9 kB / 3.037 GB, free: 152.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/4.875, allocations: 11.06 kB / 3.037 GB, free: 152.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/4.876, allocations: 387.5 kB / 3.037 GB, free: 152.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/4.876, allocations: 267 kB / 3.038 GB, free: 152.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/4.877, allocations: 382.9 kB / 3.038 GB, free: 152 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/4.877, allocations: 316 kB / 3.038 GB, free: 151.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/4.877, allocations: 0 / 3.038 GB, free: 151.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002047/4.88, allocations: 0.8298 MB / 3.039 GB, free: 151.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/4.88, allocations: 4 kB / 3.039 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/4.88, allocations: 0 / 3.039 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/4.88, allocations: 83.91 kB / 3.039 GB, free: 151.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/4.881, allocations: 163.6 kB / 3.039 GB, free: 151 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/4.883, allocations: 1.536 MB / 3.041 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007902/4.884, allocations: 102.5 kB / 3.041 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/4.884, allocations: 31.16 kB / 3.041 GB, free: 149.3 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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.0005704/4.884, allocations: 257.1 kB / 3.041 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/4.885, allocations: 83.06 kB / 3.041 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/4.887, allocations: 1.133 MB / 3.042 GB, free: 148.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/4.887, allocations: 8 kB / 3.042 GB, free: 148.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/4.887, allocations: 0 / 3.042 GB, free: 148.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.026e-06/4.887, allocations: 3.984 kB / 3.042 GB, free: 148.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/4.891, allocations: 2.09 MB / 3.045 GB, free: 146.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/4.891, allocations: 0 / 3.045 GB, free: 146.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/4.891, allocations: 167.6 kB / 3.045 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000495/4.892, allocations: 80.22 kB / 3.045 GB, free: 146.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/4.892, allocations: 27.22 kB / 3.045 GB, free: 146.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/4.893, allocations: 1.56 MB / 3.046 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/4.893, allocations: 0 / 3.046 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/4.895, allocations: 1.031 MB / 3.047 GB, free: 143.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/4.896, allocations: 284.7 kB / 3.048 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/4.896, allocations: 15.31 kB / 3.048 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006833/4.897, allocations: 88.17 kB / 3.048 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/4.897, allocations: 64.41 kB / 3.048 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/4.897, allocations: 31.48 kB / 3.048 GB, free: 143.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005518/4.897, allocations: 489.5 kB / 3.048 GB, free: 143.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.897, allocations: 11.94 kB / 3.048 GB, free: 143.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001115/4.899, allocations: 378.2 kB / 3.049 GB, free: 142.9 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 (88): * Single equations (assignments): 85 * 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.001852/4.9, allocations: 1.066 MB / 3.05 GB, free: 142 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001775/4.902, allocations: 0.8317 MB / 3.05 GB, free: 141.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/4.902, allocations: 0 / 3.05 GB, free: 141.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009731/4.903, allocations: 0.539 MB / 3.051 GB, free: 140.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/4.904, allocations: 240.3 kB / 3.051 GB, free: 140.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/4.908, allocations: 2.24 MB / 3.053 GB, free: 138.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/4.909, allocations: 1.042 MB / 3.054 GB, free: 137.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008847/4.909, allocations: 282 kB / 3.055 GB, free: 137.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/4.91, allocations: 98.06 kB / 3.055 GB, free: 137.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.142e-06/4.91, allocations: 0 / 3.055 GB, free: 137.2 MB / 1.167 GB Notification: Performance of Templates: time 0.02676/4.937, allocations: 20.76 MB / 3.075 GB, free: 116.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches