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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.953/1.953, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.0009498/0.0009498, allocations: 180.2 kB / 492.3 MB, free: 0.5977 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.2/1.2, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0007893/0.0007893, allocations: 95.94 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.3e-05/2.311e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1789, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6373/0.8162, allocations: 150.5 MB / 1.359 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.8165, allocations: 90.19 kB / 1.36 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007705/0.8242, allocations: 2.886 MB / 1.362 GB, free: 34.53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8242, allocations: 3.938 kB / 1.362 GB, free: 34.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.8242, allocations: 0 / 1.362 GB, free: 34.53 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.0002388/0.8245, allocations: 355.3 kB / 1.363 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.8245, allocations: 11.5 kB / 1.363 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.8245, allocations: 36.2 kB / 1.363 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.8249, allocations: 24.86 kB / 1.363 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.519e-05/0.8249, allocations: 171.1 kB / 1.363 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.825, allocations: 3.938 kB / 1.363 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.825, allocations: 7.906 kB / 1.363 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.973e-05/0.8251, allocations: 55.2 kB / 1.363 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.8251, allocations: 0 / 1.363 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.8251, allocations: 0 / 1.363 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.8251, allocations: 0 / 1.363 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.249e-05/0.8252, allocations: 18.98 kB / 1.363 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.8253, allocations: 168.3 kB / 1.363 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.8255, allocations: 54.81 kB / 1.363 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.8255, allocations: 29.55 kB / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.8255, allocations: 0 / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.8256, allocations: 37.62 kB / 1.363 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.8256, allocations: 0 / 1.363 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.002592/0.8282, allocations: 0.5101 MB / 1.364 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/0.8282, allocations: 55.22 kB / 1.364 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.218e-05/0.8282, allocations: 85 kB / 1.364 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.8283, allocations: 30.36 kB / 1.364 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.186e-05/0.8283, allocations: 84.02 kB / 1.364 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.8283, allocations: 20.98 kB / 1.364 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.8283, allocations: 0 / 1.364 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.8284, allocations: 320.4 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.8285, allocations: 32.25 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.831e-05/0.8285, allocations: 33.36 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.867e-05/0.8286, allocations: 28.22 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.8286, allocations: 3.781 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001851/0.8288, allocations: 105.2 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.8288, allocations: 7.812 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8288, allocations: 3.875 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8288, allocations: 0 / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.829, allocations: 24.47 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.8291, allocations: 4 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.8292, allocations: 8.797 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.8292, allocations: 3 kB / 1.365 GB, free: 32.68 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.469e-05/0.8293, allocations: 113.9 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.8293, allocations: 0 / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.314e-05/0.8294, allocations: 19.7 kB / 1.365 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.8294, allocations: 0 / 1.365 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.8294, allocations: 0 / 1.365 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.8294, allocations: 3.938 kB / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.8295, allocations: 190.5 kB / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8295, allocations: 0 / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.8297, allocations: 23.53 kB / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.8297, allocations: 4 kB / 1.365 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.8297, allocations: 8.125 kB / 1.365 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.8297, allocations: 0 / 1.365 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8297, allocations: 4.062 kB / 1.365 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.83, allocations: 173.5 kB / 1.365 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.83, allocations: 80.98 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.8301, allocations: 1.219 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.8302, allocations: 14.53 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.8302, allocations: 5.75 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.8303, allocations: 6.281 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.658e-05/0.8303, allocations: 75.28 kB / 1.365 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8303, allocations: 0 / 1.365 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002071/0.8305, allocations: 32.52 kB / 1.365 GB, free: 32.1 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.0005172/0.831, allocations: 0.7504 MB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.8312, allocations: 66.28 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8312, allocations: 0 / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.959e-05/0.8313, allocations: 38.8 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.8314, allocations: 9.484 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.8319, allocations: 167 kB / 1.366 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.8321, allocations: 0.6855 MB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.8324, allocations: 34.47 kB / 1.367 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.8324, allocations: 16.39 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.8324, allocations: 0 / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01145/0.8439, allocations: 2.267 MB / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.8441, allocations: 208.5 kB / 1.369 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.371/2.215, allocations: 0 / 1.369 GB, free: 30.22 MB / 0.8386 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