Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",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.662/2.662, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.00157/0.00157, allocations: 187.9 kB / 0.4902 GB, free: 2.25 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.59/1.59, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001038/0.001037, allocations: 100.3 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003505, allocations: 9.078 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2735, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.983/4.257, allocations: 1.733 GB / 2.962 GB, free: 232.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/4.257, allocations: 91.95 kB / 2.962 GB, free: 232.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1389/4.396, allocations: 64.35 MB / 3.025 GB, free: 167.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.247e-06/4.396, allocations: 4 kB / 3.025 GB, free: 167.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000156/4.396, allocations: 31.94 kB / 3.025 GB, free: 167.7 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.003404/4.4, allocations: 1.378 MB / 3.026 GB, free: 166.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/4.4, allocations: 12.55 kB / 3.026 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003739/4.4, allocations: 143.9 kB / 3.026 GB, free: 166.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/4.401, allocations: 230.1 kB / 3.027 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/4.403, allocations: 0.7717 MB / 3.027 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/4.403, allocations: 70 kB / 3.027 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/4.403, allocations: 99.94 kB / 3.028 GB, free: 164.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/4.405, allocations: 0.9574 MB / 3.029 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/4.405, allocations: 0 / 3.029 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/4.405, allocations: 43.95 kB / 3.029 GB, free: 163.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/4.405, allocations: 24 kB / 3.029 GB, free: 163.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/4.407, allocations: 1.128 MB / 3.03 GB, free: 162.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/4.411, allocations: 2.733 MB / 3.032 GB, free: 159.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/4.412, allocations: 0.718 MB / 3.033 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.944e-05/4.412, allocations: 32.52 kB / 3.033 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006589/4.413, allocations: 421.6 kB / 3.033 GB, free: 158.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=69): time 3.346e-06/4.413, allocations: 0 / 3.033 GB, free: 158.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=69): time 0.002774/4.416, allocations: 1.091 MB / 3.035 GB, free: 157.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/4.416, allocations: 243.9 kB / 3.035 GB, free: 157.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/4.417, allocations: 0.7273 MB / 3.035 GB, free: 156.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/4.417, allocations: 37.7 kB / 3.036 GB, free: 156.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/4.417, allocations: 495.9 kB / 3.036 GB, free: 156 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/4.418, allocations: 228.7 kB / 3.036 GB, free: 155.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/4.418, allocations: 12 kB / 3.036 GB, free: 155.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001139/4.418, allocations: 326 kB / 3.037 GB, free: 155.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/4.418, allocations: 217.2 kB / 3.037 GB, free: 155.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/4.419, allocations: 319.7 kB / 3.037 GB, free: 154.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/4.419, allocations: 259.1 kB / 3.037 GB, free: 154.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/4.419, allocations: 0 / 3.037 GB, free: 154.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001638/4.421, allocations: 0.735 MB / 3.038 GB, free: 153.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/4.421, allocations: 4.781 kB / 3.038 GB, free: 153.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/4.421, allocations: 4.062 kB / 3.038 GB, free: 153.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/4.421, allocations: 84.77 kB / 3.038 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/4.422, allocations: 131.8 kB / 3.038 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/4.424, allocations: 1.551 MB / 3.04 GB, free: 152 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/4.424, allocations: 79.45 kB / 3.04 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/4.425, allocations: 31.98 kB / 3.04 GB, free: 151.8 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 (71): * Single equations (assignments): 70 * 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.0005316/4.425, allocations: 270.4 kB / 3.04 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/4.425, allocations: 98.73 kB / 3.04 GB, free: 151.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/4.427, allocations: 0.9919 MB / 3.041 GB, free: 150.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/4.427, allocations: 12 kB / 3.041 GB, free: 150.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/4.427, allocations: 0 / 3.041 GB, free: 150.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/4.427, allocations: 7.969 kB / 3.041 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/4.429, allocations: 0.9621 MB / 3.042 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/4.429, allocations: 0 / 3.042 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/4.429, allocations: 135.9 kB / 3.042 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000505/4.43, allocations: 92.7 kB / 3.042 GB, free: 149.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/4.43, allocations: 23.92 kB / 3.042 GB, free: 149.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/4.431, allocations: 1.567 MB / 3.044 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/4.431, allocations: 0 / 3.044 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/4.433, allocations: 0.8528 MB / 3.045 GB, free: 146.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004589/4.433, allocations: 295.5 kB / 3.045 GB, free: 146.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/4.434, allocations: 20.06 kB / 3.045 GB, free: 146.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/4.434, allocations: 67.91 kB / 3.045 GB, free: 146.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/4.434, allocations: 60.91 kB / 3.045 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.694e-05/4.434, allocations: 31.98 kB / 3.045 GB, free: 146.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007798/4.435, allocations: 0.581 MB / 3.046 GB, free: 145.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/4.435, allocations: 0 / 3.046 GB, free: 145.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001309/4.437, allocations: 378.9 kB / 3.046 GB, free: 145.2 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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.004089/4.441, allocations: 2.353 MB / 3.048 GB, free: 143 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001431/4.442, allocations: 0.7082 MB / 3.049 GB, free: 142.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/4.442, allocations: 4 kB / 3.049 GB, free: 142.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007143/4.443, allocations: 488.3 kB / 3.05 GB, free: 141.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/4.444, allocations: 385.8 kB / 3.05 GB, free: 141.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/4.454, allocations: 5.911 MB / 3.056 GB, free: 135.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/4.455, allocations: 1.097 MB / 3.057 GB, free: 134.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009674/4.456, allocations: 279 kB / 3.057 GB, free: 133.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00056/4.457, allocations: 435.3 kB / 3.057 GB, free: 133.5 MB / 1.167 GB Notification: Performance of SimCode: time 7.71e-07/4.457, allocations: 4 kB / 3.057 GB, free: 133.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06943/4.526, allocations: 32.96 MB / 3.09 GB, free: 100.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/4.526, allocations: 262.4 kB / 3.09 GB, free: 100.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/7.967, allocations: 0 / 3.09 GB, free: 100.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat does not exist to compare? outputFormat=mat