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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 100.1 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.001582/0.001582, allocations: 177.3 kB / 15.95 MB, free: 216 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.582/1.582, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.598/2.598, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003576, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.7478, allocations: 142.3 MB / 0.9536 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001207/0.7491, allocations: 0.9733 MB / 0.9546 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000419/0.7495, allocations: 207.7 kB / 0.9548 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.385e-05/0.7495, allocations: 0 / 0.9548 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.7496, allocations: 0 / 0.9548 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.7496, allocations: 3.938 kB / 0.9548 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.7499, allocations: 38.22 kB / 0.9548 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.136e-05/0.7499, allocations: 17.02 kB / 0.9548 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.75, allocations: 0.9062 kB / 0.9548 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.75, allocations: 9.172 kB / 0.9548 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.7501, allocations: 10.59 kB / 0.9548 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.7501, allocations: 2.188 kB / 0.9548 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.7502, allocations: 46.77 kB / 0.9549 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.7502, allocations: 5.391 kB / 0.9549 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.7503, allocations: 26.83 kB / 0.9549 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.102e-05/0.7504, allocations: 25.02 kB / 0.9549 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.7504, allocations: 0 / 0.9549 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7504, allocations: 5.094 kB / 0.9549 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.7504, allocations: 0 / 0.9549 GB, free: 7.254 MB / 0.7169 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.0003018/0.7507, allocations: 337.6 kB / 0.9553 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.7507, allocations: 9.688 kB / 0.9553 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.7508, allocations: 30.56 kB / 0.9553 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.7509, allocations: 15.27 kB / 0.9553 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.24e-05/0.751, allocations: 171 kB / 0.9555 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.751, allocations: 1.156 kB / 0.9555 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.751, allocations: 5.969 kB / 0.9555 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.7512, allocations: 49.55 kB / 0.9555 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.7512, allocations: 1.031 kB / 0.9555 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.7512, allocations: 7.953 kB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7512, allocations: 1.094 kB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.7513, allocations: 11.5 kB / 0.9555 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.7514, allocations: 154.9 kB / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.614e-05/0.7515, allocations: 50.72 kB / 0.9557 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.7515, allocations: 0 / 0.9557 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.7515, allocations: 32.81 kB / 0.9558 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.7515, allocations: 0 / 0.9558 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.00201/0.7535, allocations: 0.4936 MB / 0.9563 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.7536, allocations: 52.5 kB / 0.9563 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.141e-05/0.7536, allocations: 89.86 kB / 0.9564 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.7536, allocations: 34.92 kB / 0.9564 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.548e-05/0.7536, allocations: 80.14 kB / 0.9565 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.7537, allocations: 27.19 kB / 0.9565 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.7537, allocations: 0 / 0.9565 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.7537, allocations: 319.9 kB / 0.9568 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.7538, allocations: 27.22 kB / 0.9569 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.943e-05/0.7538, allocations: 23.45 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.7539, allocations: 24.69 kB / 0.9569 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.7539, allocations: 0 / 0.9569 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001324/0.754, allocations: 88.38 kB / 0.957 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7541, allocations: 4.281 kB / 0.957 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7541, allocations: 1.062 kB / 0.957 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.7541, allocations: 0 / 0.957 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.7542, allocations: 28.27 kB / 0.957 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.7543, allocations: 5.109 kB / 0.957 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.7543, allocations: 0 / 0.957 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.7544, allocations: 2.094 kB / 0.957 GB, free: 5.168 MB / 0.7169 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 6.228e-05/0.7544, allocations: 114 kB / 0.9571 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.7544, allocations: 5.891 kB / 0.9571 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.7545, allocations: 13.06 kB / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.7545, allocations: 4.984 kB / 0.9572 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7545, allocations: 0 / 0.9572 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.7545, allocations: 12.86 kB / 0.9572 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.7546, allocations: 183.9 kB / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7546, allocations: 1.094 kB / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.7548, allocations: 11.97 kB / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7548, allocations: 0 / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.7548, allocations: 1.281 kB / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7548, allocations: 5.062 kB / 0.9574 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7548, allocations: 448 / 0.9574 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.755, allocations: 145.8 kB / 0.9575 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.7551, allocations: 82.31 kB / 0.9576 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.7551, allocations: 4 kB / 0.9576 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.7552, allocations: 12.44 kB / 0.9576 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.7552, allocations: 2.719 kB / 0.9576 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.7552, allocations: 5.422 kB / 0.9576 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.68e-05/0.7553, allocations: 75.28 kB / 0.9577 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7553, allocations: 1.094 kB / 0.9577 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000199/0.7555, allocations: 17.7 kB / 0.9577 GB, free: 4.48 MB / 0.7169 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.0004007/0.7559, allocations: 0.6801 MB / 0.9584 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.756, allocations: 61.58 kB / 0.9584 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.756, allocations: 0 / 0.9584 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.195e-05/0.7561, allocations: 34.2 kB / 0.9585 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.7563, allocations: 10.59 kB / 0.9585 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007876/0.7571, allocations: 478.2 kB / 0.9589 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.7572, allocations: 0.6812 MB / 0.9596 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.385e-05/0.7573, allocations: 12.16 kB / 0.9596 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.7573, allocations: 18.33 kB / 0.9596 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/0.7573, allocations: 3.938 kB / 0.9596 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.7701, allocations: 1.385 MB / 0.961 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.7703, allocations: 236.2 kB / 0.9612 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.578, allocations: 2.062 kB / 0.9612 GB, free: 1.812 MB / 0.7169 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