Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",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.774/2.774, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001769/0.001769, allocations: 183.9 kB / 0.4901 GB, free: 2.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.027/2.027, allocations: 223.1 MB / 0.7992 GB, free: 15.59 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.001283/0.001283, allocations: 100.3 kB / 0.9396 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004413, allocations: 9.438 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3733, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.243/5.617, allocations: 1.87 GB / 3.1 GB, free: 91.88 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/5.617, allocations: 87.95 kB / 3.1 GB, free: 91.79 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9438/6.561, allocations: 199.9 MB / 3.295 GB, free: 361.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.462e-06/6.561, allocations: 3.938 kB / 3.295 GB, free: 361.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.403e-05/6.561, allocations: 11.98 kB / 3.295 GB, free: 361.6 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001267/6.562, allocations: 0.6751 MB / 3.296 GB, free: 360.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/6.562, allocations: 12.83 kB / 3.296 GB, free: 360.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.32e-05/6.562, allocations: 58.53 kB / 3.296 GB, free: 360.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/6.563, allocations: 68.78 kB / 3.296 GB, free: 360.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/6.563, allocations: 303.3 kB / 3.296 GB, free: 360.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/6.563, allocations: 16.44 kB / 3.296 GB, free: 360.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/6.563, allocations: 24 kB / 3.296 GB, free: 360.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/6.564, allocations: 324.1 kB / 3.296 GB, free: 360 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/6.564, allocations: 7.984 kB / 3.296 GB, free: 360 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/6.564, allocations: 8 kB / 3.296 GB, free: 360 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/6.564, allocations: 11.94 kB / 3.296 GB, free: 360 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/6.565, allocations: 269.6 kB / 3.297 GB, free: 359.7 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/6.566, allocations: 1.248 MB / 3.298 GB, free: 358.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/6.566, allocations: 186.5 kB / 3.298 GB, free: 358.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004697/6.567, allocations: 299.2 kB / 3.298 GB, free: 357.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/6.567, allocations: 38.56 kB / 3.298 GB, free: 357.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=14): time 3.096e-06/6.567, allocations: 0 / 3.298 GB, free: 357.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=14): time 0.002209/6.569, allocations: 0.6187 MB / 3.299 GB, free: 357.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/6.569, allocations: 51.41 kB / 3.299 GB, free: 357.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/6.569, allocations: 221.9 kB / 3.299 GB, free: 356.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/6.569, allocations: 33.7 kB / 3.299 GB, free: 356.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/6.57, allocations: 164.1 kB / 3.299 GB, free: 356.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/6.57, allocations: 43.36 kB / 3.3 GB, free: 356.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/6.57, allocations: 4 kB / 3.3 GB, free: 356.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/6.57, allocations: 330.8 kB / 3.3 GB, free: 356.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/6.57, allocations: 111.9 kB / 3.3 GB, free: 356.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/6.57, allocations: 175.6 kB / 3.3 GB, free: 356 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/6.57, allocations: 124.6 kB / 3.3 GB, free: 355.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/6.571, allocations: 4 kB / 3.3 GB, free: 355.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001099/6.572, allocations: 381.8 kB / 3.301 GB, free: 355.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/6.572, allocations: 7.938 kB / 3.301 GB, free: 355.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/6.572, allocations: 4 kB / 3.301 GB, free: 355.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/6.572, allocations: 84.94 kB / 3.301 GB, free: 355.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/6.573, allocations: 59.94 kB / 3.301 GB, free: 355.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/6.574, allocations: 1.592 MB / 3.302 GB, free: 353.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/6.575, allocations: 39.81 kB / 3.302 GB, free: 353.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/6.575, allocations: 8 kB / 3.302 GB, free: 353.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0001388/6.575, allocations: 141.8 kB / 3.302 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/6.575, allocations: 35.67 kB / 3.303 GB, free: 353.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/6.576, allocations: 393.2 kB / 3.303 GB, free: 352.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/6.576, allocations: 4 kB / 3.303 GB, free: 352.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/6.576, allocations: 0 / 3.303 GB, free: 352.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/6.576, allocations: 4 kB / 3.303 GB, free: 352.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/6.577, allocations: 0.7983 MB / 3.304 GB, free: 352.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/6.577, allocations: 7.953 kB / 3.304 GB, free: 352.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/6.578, allocations: 39.91 kB / 3.304 GB, free: 352 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004827/6.578, allocations: 92.84 kB / 3.304 GB, free: 351.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/6.578, allocations: 8 kB / 3.304 GB, free: 351.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/6.58, allocations: 1.613 MB / 3.305 GB, free: 350.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/6.58, allocations: 4.031 kB / 3.305 GB, free: 350.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/6.581, allocations: 0.5073 MB / 3.306 GB, free: 349.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/6.581, allocations: 120.8 kB / 3.306 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/6.581, allocations: 7.953 kB / 3.306 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/6.581, allocations: 35.95 kB / 3.306 GB, free: 349.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/6.581, allocations: 15.98 kB / 3.306 GB, free: 349.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/6.581, allocations: 12 kB / 3.306 GB, free: 349.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001764/6.582, allocations: 182 kB / 3.306 GB, free: 349.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/6.582, allocations: 0 / 3.306 GB, free: 349.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001024/6.583, allocations: 159.8 kB / 3.306 GB, free: 349.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002649/6.585, allocations: 2.09 MB / 3.308 GB, free: 346.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001013/6.586, allocations: 388.9 kB / 3.309 GB, free: 346.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/6.586, allocations: 0 / 3.309 GB, free: 346.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005426/6.587, allocations: 286.5 kB / 3.309 GB, free: 346.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007205/6.588, allocations: 118.8 kB / 3.309 GB, free: 346.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/6.591, allocations: 2.285 MB / 3.311 GB, free: 343.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/6.591, allocations: 0.7798 MB / 3.312 GB, free: 343 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002778/6.591, allocations: 54.2 kB / 3.312 GB, free: 342.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/6.591, allocations: 75.41 kB / 3.312 GB, free: 342.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.693e-06/6.591, allocations: 0 / 3.312 GB, free: 342.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/6.631, allocations: 22.49 MB / 3.334 GB, free: 320.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/6.631, allocations: 249.8 kB / 3.335 GB, free: 320.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/9.077, allocations: 0 / 3.335 GB, free: 320.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat does not exist to compare? outputFormat=mat