Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 1.942/1.942, allocations: 390.5 MB / 398 MB, free: 10.88 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.001016/0.001016, allocations: 188.8 kB / 491.2 MB, free: 1.457 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.224/1.224, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0008388/0.0008389, allocations: 103.5 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.516e-05/1.518e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1936, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6686/0.8622, allocations: 150.6 MB / 1.359 GB, free: 17.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.8625, allocations: 88.17 kB / 1.36 GB, free: 17.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007687/0.8702, allocations: 2.88 MB / 1.362 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8702, allocations: 0 / 1.362 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.8702, allocations: 3.812 kB / 1.362 GB, free: 33.25 MB / 0.8386 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.000237/0.8705, allocations: 351.2 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.8705, allocations: 7.688 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003082/0.8708, allocations: 32.34 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.843e-05/0.8709, allocations: 165.2 kB / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-06/0.8709, allocations: 0 / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.8709, allocations: 0 / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.723e-05/0.871, allocations: 25.36 kB / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.937e-05/0.8711, allocations: 47.53 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.8711, allocations: 3.875 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.8711, allocations: 0 / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.8711, allocations: 0 / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.8712, allocations: 153.2 kB / 1.363 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.8714, allocations: 57.34 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.8714, allocations: 17.69 kB / 1.363 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.8714, allocations: 3.562 kB / 1.363 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.161e-05/0.8715, allocations: 30.56 kB / 1.363 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.8715, allocations: 7.812 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.001319/0.8728, allocations: 413.6 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.8728, allocations: 53.23 kB / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.503e-05/0.8729, allocations: 95.97 kB / 1.364 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.8729, allocations: 29.64 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.8729, allocations: 80.14 kB / 1.364 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.873, allocations: 20.62 kB / 1.364 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.873, allocations: 3.938 kB / 1.364 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.8731, allocations: 319.4 kB / 1.364 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.8731, allocations: 30.02 kB / 1.364 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.8731, allocations: 24.23 kB / 1.364 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/0.8732, allocations: 30.47 kB / 1.364 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.8732, allocations: 128 / 1.364 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001469/0.8734, allocations: 107.2 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.8734, allocations: 7.406 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.8734, allocations: 0 / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.8734, allocations: 0 / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.8736, allocations: 28.42 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.8736, allocations: 3.938 kB / 1.364 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.8738, allocations: 5.547 kB / 1.364 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.8738, allocations: 11.14 kB / 1.364 GB, free: 31.49 MB / 0.8386 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 () * 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.43e-05/0.8738, allocations: 108.9 kB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000137/0.874, allocations: 99.41 kB / 1.365 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.874, allocations: 3.906 kB / 1.365 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.8741, allocations: 11.47 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.8741, allocations: 4 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.8741, allocations: 1.266 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.8741, allocations: 0 / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.454e-05/0.8742, allocations: 167 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.8742, allocations: 4 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.8744, allocations: 26.45 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8744, allocations: 0 / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.8744, allocations: 3.562 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8744, allocations: 3.938 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.8744, allocations: 3.719 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.8747, allocations: 162.9 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.8747, allocations: 78.42 kB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.8747, allocations: 0 / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.8749, allocations: 10.83 kB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.8749, allocations: 5.359 kB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.8749, allocations: 7.219 kB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.875, allocations: 87.09 kB / 1.365 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.875, allocations: 0 / 1.365 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002188/0.8752, allocations: 28.95 kB / 1.365 GB, free: 30.9 MB / 0.8386 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 () * 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.0004919/0.8757, allocations: 0.7376 MB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.8758, allocations: 69.62 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8758, allocations: 0 / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.095e-05/0.8759, allocations: 38.84 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.876, allocations: 5.156 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.8765, allocations: 150.4 kB / 1.366 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.8767, allocations: 0.6854 MB / 1.367 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002325/0.8769, allocations: 35.42 kB / 1.367 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.877, allocations: 25.09 kB / 1.367 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.877, allocations: 0 / 1.367 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.8946, allocations: 1.929 MB / 1.369 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/0.8948, allocations: 208.5 kB / 1.369 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/2.349, allocations: 1.547 kB / 1.369 GB, free: 29.06 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat does not exist to compare? outputFormat=mat