Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",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.076/2.076, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.0009867/0.0009867, allocations: 177 kB / 492.3 MB, free: 0.6367 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.392/1.392, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0009265/0.0009265, allocations: 94.86 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.546e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2625, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.086/5.348, allocations: 1.87 GB / 3.082 GB, free: 358.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/5.349, allocations: 83.48 kB / 3.082 GB, free: 358.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3876/5.736, allocations: 199.7 MB / 3.277 GB, free: 216.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.463e-06/5.737, allocations: 0 / 3.277 GB, free: 216.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.813e-05/5.737, allocations: 15.98 kB / 3.277 GB, free: 216.4 MB / 1.151 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.001468/5.738, allocations: 0.6356 MB / 3.278 GB, free: 215.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/5.738, allocations: 16.02 kB / 3.278 GB, free: 215.7 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.238e-05/5.738, allocations: 54.55 kB / 3.278 GB, free: 215.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005577/5.739, allocations: 71.58 kB / 3.278 GB, free: 215.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/5.739, allocations: 301.8 kB / 3.278 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/5.739, allocations: 16.44 kB / 3.278 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/5.739, allocations: 24 kB / 3.278 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/5.74, allocations: 264.2 kB / 3.279 GB, free: 214.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/5.74, allocations: 4 kB / 3.279 GB, free: 214.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/5.74, allocations: 12 kB / 3.279 GB, free: 214.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/5.74, allocations: 4 kB / 3.279 GB, free: 214.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/5.74, allocations: 169 kB / 3.279 GB, free: 214.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.001422/5.741, allocations: 1.248 MB / 3.28 GB, free: 213.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/5.742, allocations: 138.1 kB / 3.28 GB, free: 213.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/5.742, allocations: 92.7 kB / 3.28 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004466/5.742, allocations: 299.2 kB / 3.28 GB, free: 212.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/5.742, allocations: 42.5 kB / 3.28 GB, free: 212.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/5.742, allocations: 0 / 3.28 GB, free: 212.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0009592/5.743, allocations: 266.4 kB / 3.281 GB, free: 212.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/5.743, allocations: 55.39 kB / 3.281 GB, free: 212.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/5.744, allocations: 219.2 kB / 3.281 GB, free: 212.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/5.744, allocations: 29.7 kB / 3.281 GB, free: 212.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/5.744, allocations: 172.1 kB / 3.281 GB, free: 211.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/5.744, allocations: 43.3 kB / 3.281 GB, free: 211.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/5.744, allocations: 4 kB / 3.281 GB, free: 211.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.963e-05/5.744, allocations: 342.7 kB / 3.282 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-05/5.744, allocations: 59.98 kB / 3.282 GB, free: 211.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/5.744, allocations: 116.2 kB / 3.282 GB, free: 211.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/5.744, allocations: 67.97 kB / 3.282 GB, free: 211.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/5.744, allocations: 0 / 3.282 GB, free: 211.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007223/5.745, allocations: 278.1 kB / 3.282 GB, free: 211 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/5.745, allocations: 8 kB / 3.282 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/5.745, allocations: 0 / 3.282 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/5.745, allocations: 84.81 kB / 3.282 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/5.746, allocations: 59.88 kB / 3.282 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/5.747, allocations: 1.572 MB / 3.284 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/5.748, allocations: 47.88 kB / 3.284 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/5.748, allocations: 4 kB / 3.284 GB, free: 209.1 MB / 1.151 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 () * 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 7.775e-05/5.748, allocations: 116.9 kB / 3.284 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/5.748, allocations: 27.72 kB / 3.284 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007167/5.749, allocations: 289.6 kB / 3.284 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/5.749, allocations: 4 kB / 3.284 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/5.749, allocations: 0 / 3.284 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/5.749, allocations: 0 / 3.284 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/5.75, allocations: 0.6927 MB / 3.285 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/5.75, allocations: 0 / 3.285 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/5.75, allocations: 48.06 kB / 3.285 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004459/5.75, allocations: 100.8 kB / 3.285 GB, free: 207.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/5.75, allocations: 0 / 3.285 GB, free: 207.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/5.752, allocations: 1.593 MB / 3.287 GB, free: 206 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/5.752, allocations: 4.031 kB / 3.287 GB, free: 206 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/5.753, allocations: 407.7 kB / 3.287 GB, free: 205.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/5.753, allocations: 120.7 kB / 3.287 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/5.753, allocations: 4 kB / 3.287 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/5.753, allocations: 35.88 kB / 3.287 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/5.753, allocations: 23.92 kB / 3.287 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/5.753, allocations: 12 kB / 3.287 GB, free: 205.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001304/5.753, allocations: 179.1 kB / 3.287 GB, free: 205.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.543e-06/5.753, allocations: 4 kB / 3.287 GB, free: 205.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006817/5.754, allocations: 163.8 kB / 3.287 GB, free: 205 MB / 1.151 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 () * 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.002225/5.756, allocations: 2.003 MB / 3.289 GB, free: 203 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005607/5.757, allocations: 288.2 kB / 3.29 GB, free: 202.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/5.757, allocations: 0 / 3.29 GB, free: 202.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/5.757, allocations: 214.9 kB / 3.29 GB, free: 202.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/5.758, allocations: 117.8 kB / 3.29 GB, free: 202.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008121/5.759, allocations: 428.4 kB / 3.29 GB, free: 201.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/5.759, allocations: 0.7757 MB / 3.291 GB, free: 201.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002153/5.759, allocations: 58.02 kB / 3.291 GB, free: 201 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/5.759, allocations: 75.42 kB / 3.291 GB, free: 200.9 MB / 1.151 GB Notification: Performance of SimCode: time 3e-07/5.759, allocations: 0 / 3.291 GB, free: 200.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03872/5.798, allocations: 25.16 MB / 3.316 GB, free: 176 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/5.798, allocations: 221.5 kB / 3.316 GB, free: 175.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/8.448, allocations: 0 / 3.316 GB, free: 175.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat does not exist to compare? outputFormat=mat