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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009509/0.0009514, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004032, allocations: 16.22 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8608/0.8612, allocations: 142.3 MB / 0.9539 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1891/1.05, allocations: 146.6 MB / 1.097 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007804/1.058, allocations: 3.271 MB / 1.1 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004392/1.059, allocations: 7.938 kB / 1.1 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006373/1.059, allocations: 95.28 kB / 1.1 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/1.061, allocations: 346.3 kB / 1.101 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/1.063, allocations: 465.5 kB / 1.101 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001381/1.064, allocations: 0.6946 MB / 1.102 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004628/1.065, allocations: 176.4 kB / 1.102 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009215/1.066, allocations: 291 kB / 1.102 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/1.066, allocations: 187.2 kB / 1.102 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/1.066, allocations: 12 kB / 1.102 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/1.068, allocations: 323.3 kB / 1.103 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/1.068, allocations: 87.69 kB / 1.103 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/1.068, allocations: 73.58 kB / 1.103 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008041/1.069, allocations: 351.2 kB / 1.103 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.069, allocations: 0 / 1.103 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/1.069, allocations: 4 kB / 1.103 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.069, allocations: 0 / 1.103 GB, free: 6.75 MB / 0.8575 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.001524/1.07, allocations: 0.6039 MB / 1.104 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.07, allocations: 8.031 kB / 1.104 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/1.07, allocations: 62.53 kB / 1.104 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007497/1.071, allocations: 71.62 kB / 1.104 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/1.072, allocations: 289.5 kB / 1.104 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/1.072, allocations: 12.44 kB / 1.104 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/1.072, allocations: 20 kB / 1.104 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/1.073, allocations: 328.1 kB / 1.105 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.073, allocations: 4 kB / 1.105 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/1.073, allocations: 4 kB / 1.105 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/1.073, allocations: 12 kB / 1.105 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/1.074, allocations: 284.6 kB / 1.105 GB, free: 4.957 MB / 0.8575 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.002625/1.077, allocations: 1.256 MB / 1.106 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/1.077, allocations: 194.5 kB / 1.106 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/1.078, allocations: 144.8 kB / 1.106 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009012/1.079, allocations: 311.2 kB / 1.107 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/1.079, allocations: 34.56 kB / 1.107 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 4.047e-06/1.079, allocations: 4 kB / 1.107 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.002514/1.082, allocations: 0.62 MB / 1.107 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/1.082, allocations: 59.41 kB / 1.107 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/1.082, allocations: 258.8 kB / 1.108 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/1.082, allocations: 33.7 kB / 1.108 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/1.082, allocations: 164.2 kB / 1.108 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/1.082, allocations: 47.34 kB / 1.108 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/1.082, allocations: 4 kB / 1.108 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.082, allocations: 330.8 kB / 1.108 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/1.083, allocations: 115.9 kB / 1.108 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/1.083, allocations: 157.9 kB / 1.108 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/1.083, allocations: 121 kB / 1.109 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.083, allocations: 3.938 kB / 1.109 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001192/1.084, allocations: 382.8 kB / 1.109 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.084, allocations: 11.94 kB / 1.109 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.084, allocations: 3.984 kB / 1.109 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/1.085, allocations: 92.84 kB / 1.109 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/1.085, allocations: 55.95 kB / 1.109 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/1.088, allocations: 1.608 MB / 1.111 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/1.088, allocations: 47.88 kB / 1.111 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/1.088, allocations: 4 kB / 1.111 GB, free: 14.54 MB / 0.8731 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.000245/1.088, allocations: 145.8 kB / 1.111 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/1.088, allocations: 23.72 kB / 1.111 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/1.09, allocations: 407.8 kB / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.09, allocations: 0 / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/1.09, allocations: 0 / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.09, allocations: 0 / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/1.091, allocations: 0.8097 MB / 1.112 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.091, allocations: 0 / 1.112 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/1.091, allocations: 48 kB / 1.112 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/1.092, allocations: 92.75 kB / 1.112 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/1.092, allocations: 8 kB / 1.112 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/1.094, allocations: 1.629 MB / 1.114 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.094, allocations: 0 / 1.114 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/1.096, allocations: 484.6 kB / 1.114 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/1.096, allocations: 120.8 kB / 1.114 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/1.096, allocations: 12 kB / 1.114 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/1.096, allocations: 27.97 kB / 1.114 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/1.096, allocations: 23.91 kB / 1.114 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/1.096, allocations: 8 kB / 1.114 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001754/1.096, allocations: 190 kB / 1.115 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.096, allocations: 0 / 1.115 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000425/1.097, allocations: 75.84 kB / 1.115 GB, free: 10.19 MB / 0.8731 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.001946/1.099, allocations: 1.081 MB / 1.116 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009762/1.1, allocations: 398.5 kB / 1.116 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.1, allocations: 0 / 1.116 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006511/1.1, allocations: 270.7 kB / 1.116 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006933/1.101, allocations: 117.1 kB / 1.117 GB, free: 8.281 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/1.105, allocations: 1.726 MB / 1.118 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/1.105, allocations: 0.7752 MB / 1.119 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002197/1.105, allocations: 54.33 kB / 1.119 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.105, allocations: 75.41 kB / 1.119 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of SimCode: time 6.92e-07/1.105, allocations: 0 / 1.119 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/1.13, allocations: 7.974 MB / 1.127 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/1.13, allocations: 249.9 kB / 1.127 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/3.073, allocations: 0 / 1.127 GB, free: 13.49 MB / 0.8887 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