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.001346/0.001346, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001463/0.001463, allocations: 177.3 kB / 15.94 MB, free: 228 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.48/1.48, allocations: 223.2 MB / 239.9 MB, free: 5.309 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.398/2.398, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8316/0.8319, allocations: 142.3 MB / 0.9536 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1664/0.9984, allocations: 135.6 MB / 1.086 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005134/1.004, allocations: 3.046 MB / 1.089 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/1.004, allocations: 7.938 kB / 1.089 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006527/1.005, allocations: 155.3 kB / 1.089 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/1.006, allocations: 358.9 kB / 1.09 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/1.007, allocations: 472.3 kB / 1.09 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005746/1.008, allocations: 372.6 kB / 1.09 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/1.008, allocations: 184.4 kB / 1.09 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008225/1.009, allocations: 339 kB / 1.091 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/1.009, allocations: 143.4 kB / 1.091 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/1.009, allocations: 12 kB / 1.091 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006371/1.01, allocations: 251.7 kB / 1.091 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.215e-05/1.01, allocations: 79.78 kB / 1.091 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.135e-05/1.01, allocations: 77.52 kB / 1.091 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004556/1.01, allocations: 327.2 kB / 1.092 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.01, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.813e-06/1.01, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.472e-06/1.01, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8419 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.00105/1.011, allocations: 0.5922 MB / 1.092 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.012, allocations: 12.03 kB / 1.092 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.985e-05/1.012, allocations: 58.53 kB / 1.092 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005169/1.012, allocations: 67.62 kB / 1.092 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/1.013, allocations: 293.5 kB / 1.093 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/1.013, allocations: 16.44 kB / 1.093 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/1.013, allocations: 20 kB / 1.093 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006431/1.013, allocations: 324.1 kB / 1.093 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/1.013, allocations: 4 kB / 1.093 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/1.013, allocations: 11.98 kB / 1.093 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/1.013, allocations: 8 kB / 1.093 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006738/1.014, allocations: 284.6 kB / 1.093 GB, free: 0.5898 MB / 0.8419 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.001578/1.016, allocations: 1.252 MB / 1.095 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/1.016, allocations: 210.5 kB / 1.095 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004342/1.017, allocations: 137 kB / 1.095 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/1.017, allocations: 42.55 kB / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 4.107e-06/1.017, allocations: 0 / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.002314/1.019, allocations: 0.6137 MB / 1.095 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/1.019, allocations: 51.41 kB / 1.096 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/1.019, allocations: 258.9 kB / 1.096 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/1.019, allocations: 29.7 kB / 1.096 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/1.019, allocations: 164.2 kB / 1.096 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/1.019, allocations: 47.3 kB / 1.096 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/1.02, allocations: 8 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.02, allocations: 342.7 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/1.02, allocations: 111.9 kB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/1.02, allocations: 157 kB / 1.097 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/1.021, allocations: 123.5 kB / 1.097 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.021, allocations: 0 / 1.097 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001177/1.022, allocations: 377.9 kB / 1.097 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.022, allocations: 9.5 kB / 1.097 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.022, allocations: 4 kB / 1.097 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/1.022, allocations: 92.88 kB / 1.097 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/1.023, allocations: 51.92 kB / 1.097 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/1.025, allocations: 1.636 MB / 1.099 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/1.025, allocations: 43.81 kB / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/1.025, allocations: 4 kB / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0001652/1.026, allocations: 145.8 kB / 1.099 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/1.026, allocations: 23.72 kB / 1.099 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/1.027, allocations: 407.8 kB / 1.099 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.027, allocations: 0 / 1.099 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/1.027, allocations: 0 / 1.099 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.027, allocations: 0 / 1.099 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/1.029, allocations: 0.9725 MB / 1.1 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.029, allocations: 4.328 kB / 1.1 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/1.029, allocations: 43.95 kB / 1.1 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005095/1.03, allocations: 92.91 kB / 1.101 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/1.03, allocations: 3.953 kB / 1.101 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/1.032, allocations: 1.641 MB / 1.102 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.032, allocations: 0 / 1.102 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/1.033, allocations: 0.5414 MB / 1.103 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/1.033, allocations: 136.7 kB / 1.103 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/1.033, allocations: 0 / 1.103 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/1.033, allocations: 43.86 kB / 1.103 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/1.034, allocations: 16.05 kB / 1.103 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/1.034, allocations: 12 kB / 1.103 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002634/1.034, allocations: 189.9 kB / 1.103 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.494e-06/1.034, allocations: 0 / 1.103 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005026/1.034, allocations: 87.86 kB / 1.103 GB, free: 5.824 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.001932/1.036, allocations: 1.488 MB / 1.105 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.037, allocations: 395.1 kB / 1.105 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.037, allocations: 0 / 1.105 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006032/1.038, allocations: 279 kB / 1.105 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/1.039, allocations: 112.1 kB / 1.105 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/1.043, allocations: 2.587 MB / 1.108 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/1.044, allocations: 0.783 MB / 1.109 GB, free: 4 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002539/1.044, allocations: 58.3 kB / 1.109 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/1.044, allocations: 75.34 kB / 1.109 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of SimCode: time 6.72e-07/1.044, allocations: 0 / 1.109 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/1.066, allocations: 7.846 MB / 1.116 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/1.066, allocations: 242.7 kB / 1.117 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.936, allocations: 0 / 1.117 GB, free: 7.93 MB / 0.8731 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