Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.0009259/0.0009259, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008446/0.0008446, allocations: 172.7 kB / 15.95 MB, free: 208 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.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.301 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.603/2.603, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003682, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7795/0.7799, allocations: 142.3 MB / 0.9539 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001291/0.7812, allocations: 1.002 MB / 0.9548 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.7822, allocations: 0.601 MB / 0.9554 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.7822, allocations: 1.688 kB / 0.9554 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.7822, allocations: 0 / 0.9554 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.7823, allocations: 11.92 kB / 0.9554 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.7827, allocations: 86.47 kB / 0.9555 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.391e-05/0.7827, allocations: 19.28 kB / 0.9555 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.7828, allocations: 0 / 0.9555 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.424e-05/0.7828, allocations: 18.19 kB / 0.9556 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.7829, allocations: 12.58 kB / 0.9556 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.7829, allocations: 1 kB / 0.9556 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002759/0.7832, allocations: 153.4 kB / 0.9557 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.7832, allocations: 13.16 kB / 0.9557 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.7832, allocations: 27.92 kB / 0.9558 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.7834, allocations: 65.7 kB / 0.9558 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.7834, allocations: 0 / 0.9558 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.552e-06/0.7834, allocations: 0 / 0.9558 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7834, allocations: 1.219 kB / 0.9558 GB, free: 6.648 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003883/0.7838, allocations: 351.1 kB / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.7839, allocations: 10 kB / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.7839, allocations: 39.56 kB / 0.9562 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003947/0.7843, allocations: 27.73 kB / 0.9562 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.495e-05/0.7844, allocations: 164.1 kB / 0.9564 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.7844, allocations: 5 kB / 0.9564 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.7844, allocations: 2.531 kB / 0.9564 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.7846, allocations: 56.16 kB / 0.9565 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.7846, allocations: 5.062 kB / 0.9565 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.7846, allocations: 3.953 kB / 0.9565 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.7846, allocations: 1.094 kB / 0.9565 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.7848, allocations: 26.56 kB / 0.9565 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.7849, allocations: 164.4 kB / 0.9566 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.7852, allocations: 70.03 kB / 0.9567 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.7853, allocations: 24.47 kB / 0.9567 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.7853, allocations: 1.281 kB / 0.9567 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.7853, allocations: 36.03 kB / 0.9568 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.7853, allocations: 3.938 kB / 0.9568 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003117/0.7885, allocations: 0.574 MB / 0.9573 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.7885, allocations: 52.38 kB / 0.9574 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.51e-05/0.7886, allocations: 100.7 kB / 0.9575 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.7886, allocations: 32.2 kB / 0.9575 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.639e-05/0.7886, allocations: 80.14 kB / 0.9576 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.7886, allocations: 24.84 kB / 0.9576 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.7887, allocations: 2.656 kB / 0.9576 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.7887, allocations: 314.8 kB / 0.9579 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.7888, allocations: 37.56 kB / 0.9579 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.789, allocations: 42.12 kB / 0.958 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.7891, allocations: 36.23 kB / 0.958 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.7891, allocations: 0 / 0.958 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002998/0.7894, allocations: 124.1 kB / 0.9581 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.7894, allocations: 4.562 kB / 0.9581 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7894, allocations: 1.125 kB / 0.9581 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7895, allocations: 7.938 kB / 0.9582 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.7897, allocations: 22.22 kB / 0.9582 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.7897, allocations: 1.438 kB / 0.9582 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.7898, allocations: 4.562 kB / 0.9582 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.7898, allocations: 5.641 kB / 0.9582 GB, free: 4.398 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 (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 prepare postOptimizeDAE: time 6.875e-05/0.7899, allocations: 120.9 kB / 0.9583 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.7899, allocations: 5.656 kB / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.79, allocations: 13.12 kB / 0.9583 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.79, allocations: 0 / 0.9583 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.79, allocations: 9.203 kB / 0.9583 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.79, allocations: 0 / 0.9583 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.7902, allocations: 182.4 kB / 0.9585 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.7902, allocations: 1.438 kB / 0.9585 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.7904, allocations: 25.69 kB / 0.9585 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7904, allocations: 0 / 0.9585 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.7904, allocations: 5.672 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.7904, allocations: 1.875 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.7904, allocations: 3.953 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.7909, allocations: 197.1 kB / 0.9587 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.7909, allocations: 82.36 kB / 0.9588 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.791, allocations: 1.188 kB / 0.9588 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.7911, allocations: 14.2 kB / 0.9588 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.7912, allocations: 6.703 kB / 0.9588 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.7912, allocations: 6.734 kB / 0.9588 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.457e-05/0.7913, allocations: 80.66 kB / 0.9589 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7913, allocations: 0 / 0.9589 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002588/0.7915, allocations: 27.09 kB / 0.9589 GB, free: 3.672 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 (6): * Single equations (assignments): 6 * 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.0007252/0.7923, allocations: 0.7611 MB / 0.9597 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.7926, allocations: 87.75 kB / 0.9598 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7926, allocations: 0 / 0.9598 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.7927, allocations: 40.62 kB / 0.9598 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.793, allocations: 19.23 kB / 0.9598 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.7941, allocations: 0.515 MB / 0.9603 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.7943, allocations: 0.6789 MB / 0.961 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.7945, allocations: 31.62 kB / 0.961 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.7946, allocations: 17.02 kB / 0.961 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/0.7946, allocations: 0 / 0.961 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.8067, allocations: 2.245 MB / 0.9632 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/0.8069, allocations: 250.8 kB / 0.9635 GB, free: 472 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.593, allocations: 2.953 kB / 0.9635 GB, free: 472 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat does not exist to compare? outputFormat=mat