Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001192/0.001192, allocations: 181.1 kB / 498.1 MB, free: 5.73 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.489/1.489, allocations: 223.1 MB / 0.7948 GB, free: 17.91 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.00118/0.00118, allocations: 103.8 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 13.97 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3081, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.151/4.459, allocations: 1.732 GB / 2.955 GB, free: 287.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/4.46, allocations: 91.94 kB / 2.955 GB, free: 287.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1345/4.594, allocations: 64.35 MB / 3.018 GB, free: 222.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.316e-06/4.594, allocations: 0 / 3.018 GB, free: 222.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001194/4.594, allocations: 31.94 kB / 3.018 GB, free: 222.5 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.002579/4.597, allocations: 1.378 MB / 3.019 GB, free: 221 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/4.597, allocations: 15.97 kB / 3.019 GB, free: 221 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002421/4.597, allocations: 151.9 kB / 3.019 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009747/4.598, allocations: 218.2 kB / 3.02 GB, free: 220.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/4.6, allocations: 0.7794 MB / 3.02 GB, free: 219.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/4.6, allocations: 73.98 kB / 3.02 GB, free: 219.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/4.6, allocations: 91.98 kB / 3.02 GB, free: 219.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/4.601, allocations: 0.9613 MB / 3.021 GB, free: 218.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/4.601, allocations: 0 / 3.021 GB, free: 218.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/4.601, allocations: 43.95 kB / 3.021 GB, free: 218.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/4.601, allocations: 24 kB / 3.021 GB, free: 218.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/4.603, allocations: 1.128 MB / 3.023 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003632/4.606, allocations: 2.73 MB / 3.025 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/4.608, allocations: 0.7247 MB / 3.026 GB, free: 213.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.997e-05/4.608, allocations: 20.53 kB / 3.026 GB, free: 213.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005847/4.608, allocations: 417.8 kB / 3.026 GB, free: 213.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=69): time 2.344e-06/4.608, allocations: 4 kB / 3.026 GB, free: 213.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=69): time 0.002518/4.611, allocations: 1.087 MB / 3.027 GB, free: 212.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/4.611, allocations: 255.9 kB / 3.028 GB, free: 212.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/4.612, allocations: 0.7233 MB / 3.028 GB, free: 211.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/4.612, allocations: 41.7 kB / 3.028 GB, free: 211.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/4.612, allocations: 488 kB / 3.029 GB, free: 210.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/4.612, allocations: 228.6 kB / 3.029 GB, free: 210.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/4.612, allocations: 16 kB / 3.029 GB, free: 210.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.347e-05/4.612, allocations: 326 kB / 3.029 GB, free: 210.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/4.613, allocations: 217.2 kB / 3.03 GB, free: 210 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/4.613, allocations: 327.6 kB / 3.03 GB, free: 209.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/4.613, allocations: 255.1 kB / 3.03 GB, free: 209.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/4.613, allocations: 0 / 3.03 GB, free: 209.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001484/4.615, allocations: 0.735 MB / 3.031 GB, free: 208.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/4.615, allocations: 11.98 kB / 3.031 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/4.615, allocations: 0 / 3.031 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/4.615, allocations: 84.8 kB / 3.031 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/4.616, allocations: 131.8 kB / 3.031 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/4.618, allocations: 1.536 MB / 3.033 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/4.618, allocations: 75.44 kB / 3.033 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/4.618, allocations: 23.98 kB / 3.033 GB, free: 206.7 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.0003519/4.619, allocations: 281.6 kB / 3.033 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/4.619, allocations: 106.7 kB / 3.033 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/4.621, allocations: 0.9958 MB / 3.034 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/4.621, allocations: 8 kB / 3.034 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/4.621, allocations: 0 / 3.034 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/4.621, allocations: 7.984 kB / 3.034 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009439/4.622, allocations: 0.9621 MB / 3.035 GB, free: 204.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/4.622, allocations: 0 / 3.035 GB, free: 204.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/4.622, allocations: 135.8 kB / 3.035 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004969/4.623, allocations: 84.77 kB / 3.035 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/4.623, allocations: 20 kB / 3.035 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/4.624, allocations: 1.579 MB / 3.037 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/4.624, allocations: 0 / 3.037 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/4.626, allocations: 0.8567 MB / 3.038 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/4.626, allocations: 295.5 kB / 3.038 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/4.626, allocations: 16 kB / 3.038 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/4.627, allocations: 67.89 kB / 3.038 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/4.627, allocations: 60.92 kB / 3.038 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/4.627, allocations: 27.98 kB / 3.038 GB, free: 200.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006625/4.628, allocations: 0.581 MB / 3.039 GB, free: 200.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.5e-07/4.628, allocations: 3.938 kB / 3.039 GB, free: 200.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001079/4.629, allocations: 375 kB / 3.039 GB, free: 200 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.003526/4.632, allocations: 2.366 MB / 3.041 GB, free: 197.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001237/4.634, allocations: 0.7083 MB / 3.042 GB, free: 197.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/4.634, allocations: 4 kB / 3.042 GB, free: 197.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006891/4.634, allocations: 496.2 kB / 3.042 GB, free: 196.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/4.636, allocations: 381.4 kB / 3.043 GB, free: 196.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008778/4.644, allocations: 5.9 MB / 3.049 GB, free: 190.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/4.645, allocations: 1.097 MB / 3.05 GB, free: 189 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008796/4.646, allocations: 283 kB / 3.05 GB, free: 188.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/4.646, allocations: 435.3 kB / 3.05 GB, free: 188.3 MB / 1.167 GB Notification: Performance of SimCode: time 4.71e-07/4.646, allocations: 0 / 3.05 GB, free: 188.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05095/4.697, allocations: 32.94 MB / 3.083 GB, free: 155.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/4.697, allocations: 264.8 kB / 3.083 GB, free: 155.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.264/7.961, allocations: 0 / 3.083 GB, free: 155.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat does not exist to compare? outputFormat=mat