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.308/2.308, allocations: 390.5 MB / 398 MB, free: 10.96 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.00101/0.00101, allocations: 180.2 kB / 491.2 MB, free: 1.617 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.44/1.44, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009225/0.0009224, allocations: 107.5 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.601e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.306, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.794/5.1, allocations: 1.87 GB / 3.082 GB, free: 434.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/5.101, allocations: 84.72 kB / 3.082 GB, free: 434.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4024/5.503, allocations: 197.1 MB / 3.275 GB, free: 259.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.996e-06/5.503, allocations: 3.984 kB / 3.275 GB, free: 259.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.176e-05/5.503, allocations: 8 kB / 3.275 GB, free: 259.7 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.001243/5.504, allocations: 0.6317 MB / 3.275 GB, free: 259.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/5.504, allocations: 12.03 kB / 3.275 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/5.505, allocations: 75.56 kB / 3.275 GB, free: 259 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/5.505, allocations: 301.9 kB / 3.276 GB, free: 258.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/5.505, allocations: 4 kB / 3.276 GB, free: 258.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/5.505, allocations: 15.94 kB / 3.276 GB, free: 258.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002744/5.506, allocations: 148.8 kB / 3.276 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/5.506, allocations: 239.4 kB / 3.276 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/5.506, allocations: 0 / 3.276 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/5.506, allocations: 3.938 kB / 3.276 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/5.506, allocations: 8 kB / 3.276 GB, free: 258.2 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.001388/5.508, allocations: 1.198 MB / 3.277 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/5.508, allocations: 126.6 kB / 3.277 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/5.508, allocations: 84.83 kB / 3.277 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004497/5.508, allocations: 291.3 kB / 3.278 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/5.508, allocations: 42.55 kB / 3.278 GB, free: 256.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/5.508, allocations: 0 / 3.278 GB, free: 256.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.001078/5.509, allocations: 290.3 kB / 3.278 GB, free: 256 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/5.509, allocations: 59.41 kB / 3.278 GB, free: 255.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/5.51, allocations: 180.5 kB / 3.278 GB, free: 255.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/5.51, allocations: 25.7 kB / 3.278 GB, free: 255.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/5.51, allocations: 168 kB / 3.278 GB, free: 255.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/5.51, allocations: 47.27 kB / 3.279 GB, free: 255.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/5.51, allocations: 0 / 3.279 GB, free: 255.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/5.51, allocations: 334.8 kB / 3.279 GB, free: 255.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.434e-05/5.51, allocations: 59.97 kB / 3.279 GB, free: 255.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/5.51, allocations: 108.4 kB / 3.279 GB, free: 255 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/5.51, allocations: 102.7 kB / 3.279 GB, free: 254.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/5.51, allocations: 0 / 3.279 GB, free: 254.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007792/5.511, allocations: 286.2 kB / 3.279 GB, free: 254.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/5.511, allocations: 8 kB / 3.279 GB, free: 254.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/5.511, allocations: 0 / 3.279 GB, free: 254.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/5.512, allocations: 92.77 kB / 3.279 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/5.512, allocations: 43.97 kB / 3.28 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/5.513, allocations: 1.508 MB / 3.281 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/5.514, allocations: 43.77 kB / 3.281 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/5.514, allocations: 4 kB / 3.281 GB, free: 252.8 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 8.247e-05/5.514, allocations: 116.9 kB / 3.281 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007513/5.515, allocations: 258.2 kB / 3.281 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/5.515, allocations: 23.67 kB / 3.281 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007753/5.515, allocations: 304.2 kB / 3.282 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/5.515, allocations: 4 kB / 3.282 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/5.515, allocations: 4 kB / 3.282 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/5.515, allocations: 0 / 3.282 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/5.517, allocations: 0.6737 MB / 3.282 GB, free: 251.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/5.517, allocations: 0 / 3.282 GB, free: 251.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/5.517, allocations: 39.97 kB / 3.282 GB, free: 251.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/5.517, allocations: 96.78 kB / 3.283 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/5.517, allocations: 3.953 kB / 3.283 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/5.519, allocations: 1.524 MB / 3.284 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/5.519, allocations: 4.031 kB / 3.284 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007564/5.519, allocations: 431.6 kB / 3.284 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.534e-05/5.52, allocations: 112.8 kB / 3.285 GB, free: 249 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/5.52, allocations: 0 / 3.285 GB, free: 249 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/5.52, allocations: 39.89 kB / 3.285 GB, free: 248.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/5.52, allocations: 27.88 kB / 3.285 GB, free: 248.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/5.52, allocations: 4 kB / 3.285 GB, free: 248.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001078/5.52, allocations: 144.5 kB / 3.285 GB, free: 248.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.52, allocations: 0 / 3.285 GB, free: 248.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006838/5.521, allocations: 139.8 kB / 3.285 GB, free: 248.6 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.002431/5.523, allocations: 2.123 MB / 3.287 GB, free: 246.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005448/5.524, allocations: 273.6 kB / 3.287 GB, free: 246.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/5.524, allocations: 0 / 3.287 GB, free: 246.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003312/5.524, allocations: 202.1 kB / 3.287 GB, free: 246 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/5.525, allocations: 96.44 kB / 3.287 GB, free: 245.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008887/5.526, allocations: 434.4 kB / 3.288 GB, free: 245.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/5.526, allocations: 0.7835 MB / 3.289 GB, free: 244.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002143/5.526, allocations: 46.05 kB / 3.289 GB, free: 244.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/5.526, allocations: 71.42 kB / 3.289 GB, free: 244.5 MB / 1.151 GB Notification: Performance of SimCode: time 3.91e-07/5.526, allocations: 0 / 3.289 GB, free: 244.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/5.562, allocations: 13.87 MB / 3.302 GB, free: 230.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/5.562, allocations: 170.8 kB / 3.302 GB, free: 230.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/7.952, allocations: 4.031 kB / 3.302 GB, free: 230.5 MB / 1.151 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