Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001253, allocations: 176.8 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.892/1.892, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 94.45 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.916e-05/1.917e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2437, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.954/7.198, allocations: 2.191 GB / 3.076 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/7.199, allocations: 85.95 kB / 3.076 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1321/7.331, allocations: 62.87 MB / 3.137 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.713e-06/7.331, allocations: 0 / 3.137 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.27e-05/7.331, allocations: 24 kB / 3.137 GB, free: 153.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00171/7.333, allocations: 1.081 MB / 3.138 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/7.333, allocations: 8.031 kB / 3.138 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/7.334, allocations: 274.4 kB / 3.139 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009284/7.335, allocations: 0.6308 MB / 3.139 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/7.335, allocations: 28 kB / 3.139 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.609e-05/7.335, allocations: 48 kB / 3.139 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001274/7.336, allocations: 1.03 MB / 3.14 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/7.337, allocations: 0.7896 MB / 3.141 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/7.337, allocations: 3.953 kB / 3.141 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.609e-05/7.337, allocations: 0 / 3.141 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/7.338, allocations: 24 kB / 3.141 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/7.341, allocations: 2.422 MB / 3.144 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/7.342, allocations: 0.7361 MB / 3.144 GB, free: 146 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/7.343, allocations: 252.3 kB / 3.145 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.058e-05/7.343, allocations: 28.75 kB / 3.145 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005219/7.343, allocations: 415.7 kB / 3.145 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 2.956e-06/7.343, allocations: 4 kB / 3.145 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.00141/7.345, allocations: 0.6681 MB / 3.146 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/7.345, allocations: 240.1 kB / 3.146 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/7.345, allocations: 0.4905 MB / 3.146 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/7.345, allocations: 25.7 kB / 3.146 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/7.346, allocations: 404.1 kB / 3.147 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/7.346, allocations: 236.4 kB / 3.147 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/7.346, allocations: 0 / 3.147 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/7.346, allocations: 370.8 kB / 3.147 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/7.346, allocations: 201.5 kB / 3.148 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/7.346, allocations: 303.5 kB / 3.148 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/7.347, allocations: 244.4 kB / 3.148 GB, free: 142 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/7.347, allocations: 4 kB / 3.148 GB, free: 142 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001213/7.348, allocations: 0.6603 MB / 3.149 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/7.348, allocations: 17.61 kB / 3.149 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/7.348, allocations: 3.938 kB / 3.149 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005802/7.349, allocations: 80.78 kB / 3.149 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/7.349, allocations: 151.8 kB / 3.149 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/7.351, allocations: 1.453 MB / 3.15 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/7.351, allocations: 71.52 kB / 3.15 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/7.351, allocations: 32.03 kB / 3.15 GB, free: 139.4 MB / 0.8698 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 (76): * Single equations (assignments): 75 * 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.0001518/7.352, allocations: 120.9 kB / 3.151 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/7.352, allocations: 75.11 kB / 3.151 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/7.353, allocations: 0.9347 MB / 3.152 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/7.353, allocations: 8 kB / 3.152 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/7.353, allocations: 8 kB / 3.152 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/7.353, allocations: 3.984 kB / 3.152 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008112/7.354, allocations: 0.7632 MB / 3.152 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/7.354, allocations: 4 kB / 3.152 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/7.355, allocations: 159.8 kB / 3.152 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/7.355, allocations: 84.72 kB / 3.153 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.505e-05/7.355, allocations: 19.97 kB / 3.153 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/7.357, allocations: 1.485 MB / 3.154 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/7.357, allocations: 3.938 kB / 3.154 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/7.358, allocations: 0.7739 MB / 3.155 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/7.358, allocations: 275.8 kB / 3.155 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/7.358, allocations: 0 / 3.155 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/7.359, allocations: 67.94 kB / 3.155 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/7.359, allocations: 64.58 kB / 3.155 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/7.359, allocations: 31.98 kB / 3.155 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004289/7.36, allocations: 406.9 kB / 3.156 GB, free: 134 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.36, allocations: 3.938 kB / 3.156 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001026/7.361, allocations: 303 kB / 3.156 GB, free: 133.7 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.001708/7.362, allocations: 1.033 MB / 3.157 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001076/7.363, allocations: 0.6667 MB / 3.158 GB, free: 132 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/7.363, allocations: 4 kB / 3.158 GB, free: 132 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005651/7.364, allocations: 460.7 kB / 3.158 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009851/7.365, allocations: 219.5 kB / 3.158 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/7.368, allocations: 1.333 MB / 3.16 GB, free: 130 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/7.369, allocations: 1.039 MB / 3.161 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008791/7.37, allocations: 261.7 kB / 3.161 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/7.37, allocations: 99.38 kB / 3.161 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of SimCode: time 6.31e-07/7.37, allocations: 0 / 3.161 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.02655/7.396, allocations: 15.54 MB / 3.176 GB, free: 113.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches