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.001238/0.001238, allocations: 100 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.00142/0.00142, 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.514/1.514, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.509/2.509, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8242/0.8246, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001317/0.826, allocations: 0.9935 MB / 0.9546 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000958/0.827, allocations: 0.5793 MB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.827, allocations: 0 / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.827, allocations: 0 / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.02e-05/0.8271, allocations: 5.453 kB / 0.9551 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.8275, allocations: 101 kB / 0.9552 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.439e-05/0.8276, allocations: 11.86 kB / 0.9553 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.8276, allocations: 1.344 kB / 0.9553 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.502e-05/0.8277, allocations: 13.64 kB / 0.9553 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.8278, allocations: 17.34 kB / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.8278, allocations: 0 / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.8281, allocations: 156.9 kB / 0.9554 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.8281, allocations: 5.156 kB / 0.9554 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.8281, allocations: 29.05 kB / 0.9555 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.8283, allocations: 64.23 kB / 0.9555 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8283, allocations: 5.781 kB / 0.9555 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8283, allocations: 3.938 kB / 0.9555 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8283, allocations: 0 / 0.9555 GB, free: 6.629 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.0004194/0.8287, allocations: 352 kB / 0.9559 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.8288, allocations: 8.375 kB / 0.9559 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.8288, allocations: 39.53 kB / 0.9559 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004269/0.8293, allocations: 32.36 kB / 0.9559 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.588e-05/0.8294, allocations: 163.9 kB / 0.9561 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.8294, allocations: 1.562 kB / 0.9561 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.8294, allocations: 1.969 kB / 0.9561 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.8296, allocations: 60.92 kB / 0.9562 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.8296, allocations: 0 / 0.9562 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.8296, allocations: 3.953 kB / 0.9562 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.8297, allocations: 0.9688 kB / 0.9562 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.8298, allocations: 38.91 kB / 0.9562 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.83, allocations: 163.9 kB / 0.9564 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.8304, allocations: 66.88 kB / 0.9564 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.8304, allocations: 1.062 kB / 0.9564 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.8304, allocations: 31.66 kB / 0.9565 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.8304, allocations: 0 / 0.9565 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003308/0.8337, allocations: 0.5737 MB / 0.957 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.8338, allocations: 56.5 kB / 0.9571 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/0.8338, allocations: 96.72 kB / 0.9572 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.8339, allocations: 26.77 kB / 0.9572 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.8339, allocations: 80.14 kB / 0.9573 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.834, allocations: 23.44 kB / 0.9573 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.834, allocations: 0 / 0.9573 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.834, allocations: 324 kB / 0.9576 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.8342, allocations: 33.66 kB / 0.9576 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.8343, allocations: 34.47 kB / 0.9577 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.8345, allocations: 35.2 kB / 0.9577 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.8345, allocations: 4 kB / 0.9577 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003605/0.8348, allocations: 121.1 kB / 0.9578 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.8349, allocations: 5.469 kB / 0.9578 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.8349, allocations: 4.062 kB / 0.9578 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8349, allocations: 7.875 kB / 0.9578 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.8351, allocations: 33.73 kB / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.8351, allocations: 0 / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.8353, allocations: 10.67 kB / 0.9579 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.8353, allocations: 6.641 kB / 0.9579 GB, free: 4.387 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 7.987e-05/0.8354, allocations: 108.6 kB / 0.958 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.8354, allocations: 3.906 kB / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.932e-05/0.8355, allocations: 15.91 kB / 0.958 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8355, allocations: 0 / 0.958 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.8355, allocations: 3.953 kB / 0.958 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8355, allocations: 0 / 0.958 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.8357, allocations: 186.5 kB / 0.9582 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8357, allocations: 3.938 kB / 0.9582 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.8359, allocations: 21.75 kB / 0.9582 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8359, allocations: 5.375 kB / 0.9582 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.8359, allocations: 5.359 kB / 0.9582 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8359, allocations: 0 / 0.9582 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8359, allocations: 9.141 kB / 0.9582 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.8365, allocations: 185 kB / 0.9584 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.8365, allocations: 86.5 kB / 0.9585 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.8366, allocations: 5.609 kB / 0.9585 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.8367, allocations: 7.375 kB / 0.9585 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.8368, allocations: 5.859 kB / 0.9585 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.8368, allocations: 5.609 kB / 0.9585 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.391e-05/0.8368, allocations: 85.02 kB / 0.9586 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8368, allocations: 1.781 kB / 0.9586 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002707/0.8371, allocations: 30.31 kB / 0.9586 GB, free: 3.668 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.0007499/0.8379, allocations: 0.7493 MB / 0.9594 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.8382, allocations: 87.78 kB / 0.9594 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8382, allocations: 0 / 0.9594 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.8383, allocations: 51.42 kB / 0.9595 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.8385, allocations: 7.438 kB / 0.9595 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.8397, allocations: 0.5301 MB / 0.96 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.8399, allocations: 0.6837 MB / 0.9607 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.8401, allocations: 24.31 kB / 0.9607 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.8402, allocations: 24.91 kB / 0.9607 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8402, allocations: 0 / 0.9607 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.8529, allocations: 2.215 MB / 0.9629 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/0.8531, allocations: 241.1 kB / 0.9631 GB, free: 484 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.662, allocations: 1.875 kB / 0.9631 GB, free: 484 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