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.486/1.486, allocations: 249.3 MB / 261.8 MB, free: 5.969 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.001182/0.001183, allocations: 182.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009281/0.0009282, allocations: 86.53 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.343e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2113, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.012/7.224, allocations: 2.19 GB / 3.082 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004371/7.224, allocations: 83.95 kB / 3.082 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1486/7.373, allocations: 64.55 MB / 3.145 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.445e-06/7.373, allocations: 0 / 3.145 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001232/7.373, allocations: 20 kB / 3.145 GB, free: 113.8 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.002611/7.376, allocations: 1.079 MB / 3.146 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/7.376, allocations: 8.031 kB / 3.146 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/7.378, allocations: 278.3 kB / 3.147 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/7.379, allocations: 0.623 MB / 3.147 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/7.379, allocations: 73.98 kB / 3.147 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/7.379, allocations: 87.98 kB / 3.147 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/7.381, allocations: 0.9029 MB / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/7.381, allocations: 0 / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/7.381, allocations: 43.95 kB / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/7.381, allocations: 20 kB / 3.148 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/7.382, allocations: 1.077 MB / 3.149 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003739/7.386, allocations: 2.593 MB / 3.152 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/7.388, allocations: 0.7753 MB / 3.153 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/7.388, allocations: 275.1 kB / 3.153 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.337e-05/7.388, allocations: 28.81 kB / 3.153 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006009/7.389, allocations: 433.3 kB / 3.153 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 3.377e-06/7.389, allocations: 0 / 3.153 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.001583/7.39, allocations: 0.7148 MB / 3.154 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/7.39, allocations: 240.1 kB / 3.154 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/7.391, allocations: 0.5737 MB / 3.155 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/7.391, allocations: 37.7 kB / 3.155 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/7.391, allocations: 400.1 kB / 3.155 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/7.391, allocations: 248.4 kB / 3.156 GB, free: 103 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/7.391, allocations: 8 kB / 3.156 GB, free: 103 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001191/7.392, allocations: 386.7 kB / 3.156 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/7.392, allocations: 205.5 kB / 3.156 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/7.392, allocations: 329 kB / 3.156 GB, free: 102 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/7.393, allocations: 254 kB / 3.157 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/7.393, allocations: 0 / 3.157 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001379/7.394, allocations: 0.707 MB / 3.157 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/7.394, allocations: 8 kB / 3.157 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/7.394, allocations: 0 / 3.157 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/7.395, allocations: 88.81 kB / 3.157 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/7.395, allocations: 159.8 kB / 3.158 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/7.398, allocations: 1.517 MB / 3.159 GB, free: 99.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/7.398, allocations: 83.48 kB / 3.159 GB, free: 99.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/7.398, allocations: 31.97 kB / 3.159 GB, free: 99.05 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.0002177/7.399, allocations: 148.8 kB / 3.159 GB, free: 98.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/7.399, allocations: 75.06 kB / 3.159 GB, free: 98.82 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/7.401, allocations: 1.005 MB / 3.16 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/7.401, allocations: 12 kB / 3.16 GB, free: 97.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/7.401, allocations: 3.953 kB / 3.16 GB, free: 97.79 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/7.401, allocations: 3.984 kB / 3.16 GB, free: 97.78 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/7.402, allocations: 0.9033 MB / 3.161 GB, free: 96.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/7.402, allocations: 0 / 3.161 GB, free: 96.83 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/7.403, allocations: 159.8 kB / 3.161 GB, free: 96.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004851/7.403, allocations: 84.78 kB / 3.162 GB, free: 96.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/7.403, allocations: 27.97 kB / 3.162 GB, free: 96.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/7.405, allocations: 1.54 MB / 3.163 GB, free: 94.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/7.405, allocations: 4.062 kB / 3.163 GB, free: 94.88 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/7.407, allocations: 0.8245 MB / 3.164 GB, free: 94.02 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/7.407, allocations: 283.8 kB / 3.164 GB, free: 93.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.223e-05/7.407, allocations: 20 kB / 3.164 GB, free: 93.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/7.408, allocations: 83.92 kB / 3.164 GB, free: 93.62 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/7.408, allocations: 60.64 kB / 3.164 GB, free: 93.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/7.408, allocations: 35.91 kB / 3.164 GB, free: 93.53 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005482/7.408, allocations: 471.2 kB / 3.165 GB, free: 93.08 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/7.408, allocations: 0 / 3.165 GB, free: 93.08 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001242/7.41, allocations: 339.2 kB / 3.165 GB, free: 92.75 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.001898/7.412, allocations: 0.9764 MB / 3.166 GB, free: 91.85 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001474/7.413, allocations: 0.7137 MB / 3.167 GB, free: 91.12 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/7.413, allocations: 0 / 3.167 GB, free: 91.12 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006967/7.414, allocations: 490.9 kB / 3.167 GB, free: 90.62 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/7.415, allocations: 238.5 kB / 3.167 GB, free: 90.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/7.418, allocations: 1.367 MB / 3.169 GB, free: 89.01 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/7.419, allocations: 1.043 MB / 3.17 GB, free: 87.94 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009369/7.42, allocations: 270 kB / 3.17 GB, free: 87.68 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/7.42, allocations: 99.39 kB / 3.17 GB, free: 87.58 MB / 0.8698 GB Notification: Performance of SimCode: time 2.184e-06/7.42, allocations: 0 / 3.17 GB, free: 87.58 MB / 0.8698 GB Notification: Performance of Templates: time 0.02998/7.45, allocations: 21.99 MB / 3.192 GB, free: 65.65 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