Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.252/2.252, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001238/0.001238, allocations: 181.1 kB / 498.1 MB, free: 5.73 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.513/1.513, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001168/0.001168, allocations: 92.31 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005694/0.0005694, allocations: 10.47 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2891, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.4804, allocations: 149.5 MB / 1.369 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.4808, allocations: 83.94 kB / 1.369 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005535/0.4863, allocations: 1.857 MB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.086e-06/0.4864, allocations: 0 / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.882e-06/0.4864, allocations: 0 / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000375/0.4868, allocations: 347.3 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4868, allocations: 8.031 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.4869, allocations: 38.5 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.487, allocations: 19.81 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.4872, allocations: 159.1 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.4872, allocations: 4 kB / 1.371 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.4872, allocations: 3.906 kB / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.4873, allocations: 57.67 kB / 1.371 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4874, allocations: 0 / 1.371 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.4874, allocations: 0 / 1.371 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4874, allocations: 4 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.755e-05/0.4875, allocations: 15.98 kB / 1.372 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.4876, allocations: 161.6 kB / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.672e-05/0.4878, allocations: 46.62 kB / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.4878, allocations: 0 / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.4878, allocations: 34.56 kB / 1.372 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.4878, allocations: 0 / 1.372 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.002249/0.4901, allocations: 498.2 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.4902, allocations: 51.41 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.294e-05/0.4902, allocations: 88.98 kB / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.4903, allocations: 29.7 kB / 1.372 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.4903, allocations: 84.08 kB / 1.372 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.4904, allocations: 27.56 kB / 1.372 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.4904, allocations: 0 / 1.372 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4905, allocations: 322.8 kB / 1.373 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-05/0.4906, allocations: 24 kB / 1.373 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.37e-05/0.4906, allocations: 23.98 kB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.744e-05/0.4907, allocations: 24 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4907, allocations: 0 / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001612/0.4909, allocations: 93.75 kB / 1.373 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4909, allocations: 8 kB / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4909, allocations: 0 / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4909, allocations: 0 / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.4911, allocations: 15.98 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.4911, allocations: 0 / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.4912, allocations: 4 kB / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.4912, allocations: 4 kB / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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.0001005/0.4913, allocations: 117.7 kB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.4913, allocations: 7.938 kB / 1.373 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.4914, allocations: 15.97 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4914, allocations: 0 / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4914, allocations: 0 / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4914, allocations: 0 / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.4916, allocations: 183.2 kB / 1.373 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4916, allocations: 4 kB / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.4917, allocations: 15.98 kB / 1.373 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4918, allocations: 0 / 1.373 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.4918, allocations: 4 kB / 1.373 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4918, allocations: 448 / 1.373 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4918, allocations: 0 / 1.373 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.4921, allocations: 152.9 kB / 1.373 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.4921, allocations: 77.11 kB / 1.374 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.4921, allocations: 4 kB / 1.374 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.4923, allocations: 12.05 kB / 1.374 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.4923, allocations: 4 kB / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.4923, allocations: 4 kB / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.904e-05/0.4923, allocations: 75.28 kB / 1.374 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4923, allocations: 0 / 1.374 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001928/0.4925, allocations: 16 kB / 1.374 GB, free: 7.301 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (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 Backend phase and start with SimCode phase: time 0.0005824/0.4931, allocations: 0.7019 MB / 1.374 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.4933, allocations: 51.98 kB / 1.374 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4933, allocations: 0 / 1.374 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.509e-05/0.4934, allocations: 40.44 kB / 1.374 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.4935, allocations: 3.938 kB / 1.374 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/0.4945, allocations: 487.3 kB / 1.375 GB, free: 5.949 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4948, allocations: 0.6809 MB / 1.376 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.878e-05/0.4949, allocations: 8.188 kB / 1.376 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.495, allocations: 19.42 kB / 1.376 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of SimCode: time 3.1e-07/0.495, allocations: 0 / 1.376 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.5085, allocations: 1.378 MB / 1.377 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.5088, allocations: 231 kB / 1.377 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.172, allocations: 1.406 kB / 1.377 GB, free: 3.812 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat does not exist to compare? outputFormat=mat