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.284/2.284, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001165/0.001165, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.92/1.92, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.001165/0.001165, allocations: 83.95 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.198e-05/4.202e-05, allocations: 7.984 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3707, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.894/5.265, allocations: 1.732 GB / 2.951 GB, free: 81.97 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/5.265, allocations: 91.94 kB / 2.951 GB, free: 81.88 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1407/5.406, allocations: 65.46 MB / 3.015 GB, free: 16.13 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.545e-06/5.406, allocations: 0 / 3.015 GB, free: 16.13 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001183/5.406, allocations: 20 kB / 3.015 GB, free: 16.11 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.002737/5.409, allocations: 1.13 MB / 3.016 GB, free: 14.93 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/5.409, allocations: 8.031 kB / 3.016 GB, free: 14.92 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/5.411, allocations: 310.4 kB / 3.016 GB, free: 14.62 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/5.413, allocations: 0.623 MB / 3.017 GB, free: 13.95 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/5.413, allocations: 70 kB / 3.017 GB, free: 13.88 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/5.413, allocations: 88 kB / 3.017 GB, free: 13.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/5.415, allocations: 0.9294 MB / 3.018 GB, free: 12.83 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/5.415, allocations: 4 kB / 3.018 GB, free: 12.83 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/5.415, allocations: 43.95 kB / 3.018 GB, free: 12.79 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/5.415, allocations: 20 kB / 3.018 GB, free: 12.77 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/5.416, allocations: 1.105 MB / 3.019 GB, free: 11.66 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004668/5.421, allocations: 2.607 MB / 3.022 GB, free: 8.98 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/5.423, allocations: 0.8555 MB / 3.023 GB, free: 8.09 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/5.424, allocations: 287.1 kB / 3.023 GB, free: 7.805 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/5.424, allocations: 28.73 kB / 3.023 GB, free: 7.777 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007219/5.424, allocations: 441.3 kB / 3.023 GB, free: 7.328 MB / 1.167 GB Notification: Performance of pre-optimization done (n=75): time 4.368e-06/5.424, allocations: 0 / 3.023 GB, free: 7.328 MB / 1.167 GB Notification: Performance of matching and sorting (n=75): time 0.001751/5.426, allocations: 0.7187 MB / 3.024 GB, free: 6.598 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/5.426, allocations: 248 kB / 3.024 GB, free: 6.301 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008147/5.427, allocations: 0.5855 MB / 3.025 GB, free: 5.711 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.47e-05/5.427, allocations: 41.7 kB / 3.025 GB, free: 5.664 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/5.427, allocations: 400.2 kB / 3.025 GB, free: 5.266 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/5.428, allocations: 248.4 kB / 3.026 GB, free: 5.02 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/5.428, allocations: 8 kB / 3.026 GB, free: 5.012 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/5.428, allocations: 390.7 kB / 3.026 GB, free: 4.621 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/5.428, allocations: 209.5 kB / 3.026 GB, free: 4.418 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/5.429, allocations: 321.1 kB / 3.026 GB, free: 4.074 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/5.429, allocations: 262 kB / 3.027 GB, free: 3.82 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/5.429, allocations: 0 / 3.027 GB, free: 3.82 MB / 1.167 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001572/5.431, allocations: 0.7149 MB / 3.027 GB, free: 3.094 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/5.431, allocations: 5.562 kB / 3.027 GB, free: 3.09 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/5.431, allocations: 0 / 3.027 GB, free: 3.09 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/5.431, allocations: 84.84 kB / 3.027 GB, free: 3.004 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/5.432, allocations: 159.8 kB / 3.028 GB, free: 2.848 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/5.434, allocations: 1.532 MB / 3.029 GB, free: 1.176 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/5.435, allocations: 103.4 kB / 3.029 GB, free: 1.074 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/5.435, allocations: 31.97 kB / 3.029 GB, free: 1.043 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 () * 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.0002037/5.435, allocations: 138.6 kB / 3.029 GB, free: 0.9023 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/5.435, allocations: 75.06 kB / 3.029 GB, free: 0.8281 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7037/6.139, allocations: 1.011 MB / 3.03 GB, free: 399.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/6.139, allocations: 11.98 kB / 3.03 GB, free: 399.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/6.139, allocations: 1.812 kB / 3.03 GB, free: 399.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/6.139, allocations: 5.5 kB / 3.03 GB, free: 399.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00397/6.143, allocations: 1.944 MB / 3.032 GB, free: 399.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/6.143, allocations: 1.031 kB / 3.032 GB, free: 399.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/6.144, allocations: 174.3 kB / 3.033 GB, free: 399.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005269/6.144, allocations: 82.89 kB / 3.033 GB, free: 399.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/6.144, allocations: 28 kB / 3.033 GB, free: 399.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/6.146, allocations: 1.539 MB / 3.034 GB, free: 398.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/6.146, allocations: 0.5625 kB / 3.034 GB, free: 398.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/6.148, allocations: 0.9073 MB / 3.035 GB, free: 398 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005761/6.149, allocations: 289.9 kB / 3.035 GB, free: 397.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/6.149, allocations: 21.05 kB / 3.035 GB, free: 397.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/6.149, allocations: 86.77 kB / 3.035 GB, free: 397.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/6.15, allocations: 63.34 kB / 3.035 GB, free: 397.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/6.15, allocations: 29.17 kB / 3.035 GB, free: 397.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000707/6.15, allocations: 487.9 kB / 3.036 GB, free: 397.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/6.15, allocations: 0 / 3.036 GB, free: 397.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001174/6.152, allocations: 376.1 kB / 3.036 GB, free: 397.8 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) * 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.002051/6.154, allocations: 1.033 MB / 3.037 GB, free: 397.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001527/6.155, allocations: 0.7175 MB / 3.038 GB, free: 397.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/6.155, allocations: 0.875 kB / 3.038 GB, free: 397.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000855/6.156, allocations: 495.2 kB / 3.038 GB, free: 397.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/6.157, allocations: 239.4 kB / 3.039 GB, free: 397.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/6.161, allocations: 1.398 MB / 3.04 GB, free: 397.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/6.162, allocations: 1.047 MB / 3.041 GB, free: 396.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001115/6.163, allocations: 271 kB / 3.041 GB, free: 396.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/6.163, allocations: 96.36 kB / 3.041 GB, free: 396.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.313e-06/6.163, allocations: 0 / 3.041 GB, free: 396.3 MB / 1.167 GB Notification: Performance of Templates: time 0.04266/6.206, allocations: 22.4 MB / 3.063 GB, free: 395 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