Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001475/0.001475, allocations: 177.1 kB / 498.1 MB, free: 5.734 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.653/1.653, allocations: 223.2 MB / 0.7948 GB, free: 18.8 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.001082/0.001082, allocations: 102.1 kB / 0.9346 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003755, allocations: 12.44 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.334, allocations: 142.4 MB / 1.223 GB, free: 89.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.023/4.357, allocations: 1.731 GB / 2.954 GB, free: 252.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/4.358, allocations: 103.9 kB / 2.954 GB, free: 252 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1461/4.504, allocations: 68.38 MB / 3.021 GB, free: 183.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.705e-06/4.504, allocations: 0 / 3.021 GB, free: 183.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001149/4.504, allocations: 20 kB / 3.021 GB, free: 183.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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002899/4.507, allocations: 1.239 MB / 3.023 GB, free: 182 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/4.507, allocations: 8.031 kB / 3.023 GB, free: 182 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003435/4.507, allocations: 151.6 kB / 3.023 GB, free: 181.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/4.509, allocations: 206.5 kB / 3.023 GB, free: 181.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/4.51, allocations: 0.6424 MB / 3.023 GB, free: 181 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.823e-05/4.51, allocations: 66 kB / 3.024 GB, free: 180.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/4.51, allocations: 88 kB / 3.024 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/4.512, allocations: 0.9418 MB / 3.025 GB, free: 179.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/4.512, allocations: 0 / 3.025 GB, free: 179.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/4.512, allocations: 43.95 kB / 3.025 GB, free: 179.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/4.512, allocations: 24 kB / 3.025 GB, free: 179.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/4.514, allocations: 1.136 MB / 3.026 GB, free: 178.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004065/4.518, allocations: 2.578 MB / 3.028 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/4.519, allocations: 0.8492 MB / 3.029 GB, free: 175.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005998/4.52, allocations: 474 kB / 3.03 GB, free: 174.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007298/4.521, allocations: 435.3 kB / 3.03 GB, free: 174.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 3.767e-06/4.521, allocations: 0 / 3.03 GB, free: 174.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.002989/4.524, allocations: 1.124 MB / 3.031 GB, free: 173 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/4.524, allocations: 240.1 kB / 3.031 GB, free: 172.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009452/4.525, allocations: 0.6048 MB / 3.032 GB, free: 172.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.143e-05/4.525, allocations: 41.69 kB / 3.032 GB, free: 172 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/4.525, allocations: 400.3 kB / 3.032 GB, free: 171.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/4.525, allocations: 240.4 kB / 3.033 GB, free: 171.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/4.525, allocations: 16 kB / 3.033 GB, free: 171.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001035/4.526, allocations: 374.8 kB / 3.033 GB, free: 171 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/4.526, allocations: 233.1 kB / 3.033 GB, free: 170.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/4.527, allocations: 335.6 kB / 3.033 GB, free: 170.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/4.527, allocations: 271.1 kB / 3.034 GB, free: 170.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/4.527, allocations: 4 kB / 3.034 GB, free: 170.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00174/4.529, allocations: 0.7314 MB / 3.034 GB, free: 169.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/4.529, allocations: 8 kB / 3.034 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/4.529, allocations: 0 / 3.034 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/4.529, allocations: 88.81 kB / 3.034 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/4.53, allocations: 139.8 kB / 3.035 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/4.532, allocations: 1.529 MB / 3.036 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/4.533, allocations: 99.34 kB / 3.036 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/4.533, allocations: 23.98 kB / 3.036 GB, free: 167.4 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 (75): * Single equations (assignments): 74 * 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.0005046/4.533, allocations: 254.9 kB / 3.036 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/4.533, allocations: 75.06 kB / 3.037 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/4.536, allocations: 1.026 MB / 3.038 GB, free: 166 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/4.536, allocations: 12 kB / 3.038 GB, free: 166 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/4.536, allocations: 0 / 3.038 GB, free: 166 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/4.536, allocations: 3.984 kB / 3.038 GB, free: 166 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/4.539, allocations: 1.949 MB / 3.039 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/4.539, allocations: 0 / 3.039 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/4.54, allocations: 143.8 kB / 3.04 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005173/4.54, allocations: 84.77 kB / 3.04 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/4.54, allocations: 23.98 kB / 3.04 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/4.542, allocations: 1.563 MB / 3.041 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/4.542, allocations: 3.984 kB / 3.041 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/4.544, allocations: 0.9297 MB / 3.042 GB, free: 161.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/4.544, allocations: 291.7 kB / 3.042 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/4.544, allocations: 15.95 kB / 3.042 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000675/4.545, allocations: 63.95 kB / 3.043 GB, free: 160.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/4.545, allocations: 68.91 kB / 3.043 GB, free: 160.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/4.545, allocations: 31.98 kB / 3.043 GB, free: 160.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006798/4.546, allocations: 499 kB / 3.043 GB, free: 160.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/4.546, allocations: 0 / 3.043 GB, free: 160.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001255/4.547, allocations: 387 kB / 3.043 GB, free: 159.7 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 (84): * Single equations (assignments): 81 * 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.004036/4.551, allocations: 2.461 MB / 3.046 GB, free: 157.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001609/4.553, allocations: 0.7396 MB / 3.047 GB, free: 156.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/4.553, allocations: 3.984 kB / 3.047 GB, free: 156.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008456/4.554, allocations: 0.4924 MB / 3.047 GB, free: 156.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/4.555, allocations: 230 kB / 3.047 GB, free: 156 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009621/4.565, allocations: 5.181 MB / 3.052 GB, free: 150.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/4.565, allocations: 1.035 MB / 3.053 GB, free: 149.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00106/4.566, allocations: 270.1 kB / 3.054 GB, free: 149.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/4.567, allocations: 375.3 kB / 3.054 GB, free: 149 MB / 1.167 GB Notification: Performance of SimCode: time 1.954e-06/4.567, allocations: 0 / 3.054 GB, free: 149 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05561/4.622, allocations: 29.72 MB / 3.083 GB, free: 119.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/4.623, allocations: 288 kB / 3.083 GB, free: 119.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.221/7.844, allocations: 4.062 kB / 3.083 GB, free: 119.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat does not exist to compare? outputFormat=mat