Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.444/2.444, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001133/0.001134, allocations: 180 kB / 0.4901 GB, free: 2.242 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.67/1.67, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009596/0.0009597, allocations: 102.8 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.000346, allocations: 8.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2633, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.006/4.27, allocations: 1.732 GB / 2.962 GB, free: 218.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/4.27, allocations: 95.88 kB / 2.962 GB, free: 218.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1438/4.414, allocations: 68.38 MB / 3.028 GB, free: 159.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.427e-06/4.414, allocations: 4 kB / 3.028 GB, free: 159.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.04e-05/4.414, allocations: 24 kB / 3.028 GB, free: 159.9 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.002377/4.417, allocations: 1.237 MB / 3.03 GB, free: 158.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/4.417, allocations: 11.97 kB / 3.03 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/4.417, allocations: 142.9 kB / 3.03 GB, free: 158.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/4.418, allocations: 214.2 kB / 3.03 GB, free: 158.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/4.419, allocations: 0.6308 MB / 3.031 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/4.419, allocations: 71.67 kB / 3.031 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/4.419, allocations: 88.31 kB / 3.031 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/4.421, allocations: 0.943 MB / 3.032 GB, free: 157 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/4.421, allocations: 4 kB / 3.032 GB, free: 157 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/4.421, allocations: 41.58 kB / 3.032 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/4.421, allocations: 20 kB / 3.032 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/4.422, allocations: 1.137 MB / 3.033 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/4.426, allocations: 2.606 MB / 3.035 GB, free: 153.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/4.427, allocations: 0.8322 MB / 3.036 GB, free: 153.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/4.428, allocations: 465.8 kB / 3.037 GB, free: 152.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007283/4.428, allocations: 441.6 kB / 3.037 GB, free: 152.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 4.168e-06/4.428, allocations: 0 / 3.037 GB, free: 152.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.003063/4.432, allocations: 1.121 MB / 3.038 GB, free: 151.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/4.432, allocations: 244 kB / 3.038 GB, free: 151.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007643/4.432, allocations: 0.5938 MB / 3.039 GB, free: 150.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/4.433, allocations: 40.7 kB / 3.039 GB, free: 150.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/4.433, allocations: 411.5 kB / 3.039 GB, free: 150.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/4.433, allocations: 244.3 kB / 3.04 GB, free: 150.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/4.433, allocations: 14.75 kB / 3.04 GB, free: 150.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001112/4.433, allocations: 375.9 kB / 3.04 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/4.434, allocations: 227.1 kB / 3.04 GB, free: 149.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/4.434, allocations: 339 kB / 3.041 GB, free: 149.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/4.434, allocations: 273.4 kB / 3.041 GB, free: 149.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/4.435, allocations: 0 / 3.041 GB, free: 149.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001633/4.436, allocations: 0.741 MB / 3.042 GB, free: 148.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/4.436, allocations: 4 kB / 3.042 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/4.436, allocations: 0 / 3.042 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006432/4.437, allocations: 83.83 kB / 3.042 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/4.437, allocations: 143.1 kB / 3.042 GB, free: 148.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/4.439, allocations: 1.535 MB / 3.043 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007067/4.44, allocations: 89.5 kB / 3.043 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-05/4.44, allocations: 31.42 kB / 3.043 GB, free: 146.9 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.0006537/4.441, allocations: 256.4 kB / 3.044 GB, free: 146.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/4.441, allocations: 79.06 kB / 3.044 GB, free: 146.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/4.443, allocations: 1.017 MB / 3.045 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/4.443, allocations: 11.94 kB / 3.045 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/4.443, allocations: 4 kB / 3.045 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/4.443, allocations: 3.984 kB / 3.045 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/4.447, allocations: 1.953 MB / 3.047 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/4.447, allocations: 0 / 3.047 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/4.447, allocations: 147.4 kB / 3.047 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005658/4.448, allocations: 83.08 kB / 3.047 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/4.448, allocations: 26.67 kB / 3.047 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/4.449, allocations: 1.552 MB / 3.048 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/4.449, allocations: 0 / 3.048 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/4.451, allocations: 0.935 MB / 3.049 GB, free: 141.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/4.452, allocations: 283.5 kB / 3.05 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/4.452, allocations: 22.81 kB / 3.05 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006006/4.452, allocations: 66.58 kB / 3.05 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/4.453, allocations: 60.03 kB / 3.05 GB, free: 141.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/4.453, allocations: 34.73 kB / 3.05 GB, free: 141.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006472/4.453, allocations: 490.3 kB / 3.05 GB, free: 141.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/4.453, allocations: 4 kB / 3.05 GB, free: 141.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001388/4.455, allocations: 394.5 kB / 3.051 GB, free: 140.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) * 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.004657/4.459, allocations: 2.459 MB / 3.053 GB, free: 138.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001661/4.461, allocations: 0.7345 MB / 3.054 GB, free: 138.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/4.461, allocations: 3.938 kB / 3.054 GB, free: 138.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000903/4.462, allocations: 0.4891 MB / 3.054 GB, free: 137.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/4.463, allocations: 239.8 kB / 3.054 GB, free: 137.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/4.474, allocations: 5.184 MB / 3.059 GB, free: 133.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/4.475, allocations: 1.037 MB / 3.06 GB, free: 132.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001174/4.476, allocations: 262.2 kB / 3.061 GB, free: 131.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006639/4.477, allocations: 376.2 kB / 3.061 GB, free: 131.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.465e-06/4.477, allocations: 0 / 3.061 GB, free: 131.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05471/4.531, allocations: 29.74 MB / 3.09 GB, free: 102.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/4.532, allocations: 294.2 kB / 3.09 GB, free: 102 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.466/7.998, allocations: 0 / 3.09 GB, free: 102 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat does not exist to compare? outputFormat=mat