Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.436/2.436, allocations: 393.5 MB / 408.4 MB, free: 11 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.001429/0.001429, allocations: 183.6 kB / 0.4901 GB, free: 2.262 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.482/1.482, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.000861/0.0008611, allocations: 99.08 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003929, allocations: 10.34 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.287, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.4743, allocations: 152.3 MB / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/0.4747, allocations: 79.95 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01111/0.4858, allocations: 3.497 MB / 1.382 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4859, allocations: 4 kB / 1.382 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.4859, allocations: 4 kB / 1.382 GB, free: 13.53 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000632/0.4865, allocations: 411 kB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.4866, allocations: 8.562 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.217e-05/0.4867, allocations: 38.56 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.4869, allocations: 35.83 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.4872, allocations: 202.8 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.656e-05/0.4873, allocations: 33.69 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.4873, allocations: 8 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.4876, allocations: 111.8 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.4876, allocations: 4 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.4876, allocations: 0 / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.4876, allocations: 4 kB / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.4879, allocations: 91.89 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.4886, allocations: 388.4 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.4892, allocations: 138.6 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.4892, allocations: 4 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.4893, allocations: 38.56 kB / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.4893, allocations: 0 / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.000483/0.4898, allocations: 149.6 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.4898, allocations: 51.41 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.4899, allocations: 122.2 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.49, allocations: 25.7 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.49, allocations: 104.2 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.4901, allocations: 27.64 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.4901, allocations: 0 / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4902, allocations: 322.8 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.4903, allocations: 31.98 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.4904, allocations: 53.69 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.4906, allocations: 39.92 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4906, allocations: 0 / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002869/0.4909, allocations: 129.6 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4909, allocations: 4 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4909, allocations: 0 / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4909, allocations: 7.984 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4911, allocations: 19.98 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4911, allocations: 0 / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.4912, allocations: 19.97 kB / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.4912, allocations: 0 / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.4913, allocations: 113.8 kB / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.4914, allocations: 19.84 kB / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.4914, allocations: 16.72 kB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4914, allocations: 0 / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.4914, allocations: 0 / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4914, allocations: 0 / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.4917, allocations: 197.6 kB / 1.384 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4917, allocations: 7.938 kB / 1.384 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.4918, allocations: 19.98 kB / 1.384 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4918, allocations: 7.891 kB / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4918, allocations: 0 / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4918, allocations: 0 / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4918, allocations: 0 / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.4922, allocations: 215.4 kB / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.4922, allocations: 81.02 kB / 1.385 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.4922, allocations: 11.94 kB / 1.385 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.4924, allocations: 19.89 kB / 1.385 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.4925, allocations: 8 kB / 1.385 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.4925, allocations: 4 kB / 1.385 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.353e-05/0.4926, allocations: 108.3 kB / 1.385 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4926, allocations: 0 / 1.385 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002389/0.4928, allocations: 20 kB / 1.385 GB, free: 9.797 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006485/0.4935, allocations: 0.745 MB / 1.386 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.4937, allocations: 91.95 kB / 1.386 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4938, allocations: 0 / 1.386 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.4939, allocations: 35.98 kB / 1.386 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.4942, allocations: 39.84 kB / 1.386 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007961/0.495, allocations: 0.5843 MB / 1.386 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.4953, allocations: 0.7004 MB / 1.387 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.986e-05/0.4954, allocations: 12.66 kB / 1.387 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.4955, allocations: 19.44 kB / 1.387 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of SimCode: time 2.284e-06/0.4955, allocations: 0 / 1.387 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.5092, allocations: 2.352 MB / 1.389 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.5094, allocations: 197.1 kB / 1.389 GB, free: 5.059 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.144, allocations: 3.938 kB / 1.389 GB, free: 5.055 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat does not exist to compare? outputFormat=mat