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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008611/0.0008611, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004642/0.004643, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.071/2.071, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002894, allocations: 23.98 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.506, allocations: 142.4 MB / 0.9552 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001041/0.5071, allocations: 1.011 MB / 0.9562 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008359/0.5079, allocations: 0.6362 MB / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.26e-05/0.508, allocations: 0 / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.508, allocations: 0 / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.045e-05/0.508, allocations: 13.09 kB / 0.9568 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.5084, allocations: 91.17 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.726e-05/0.5084, allocations: 27.81 kB / 0.9569 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.5085, allocations: 1.125 kB / 0.9569 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.5085, allocations: 14.41 kB / 0.9569 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.5086, allocations: 16.55 kB / 0.9569 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.5086, allocations: 1.125 kB / 0.9569 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.5088, allocations: 149.1 kB / 0.9571 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.5088, allocations: 1.062 kB / 0.9571 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.5089, allocations: 42.16 kB / 0.9571 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.509, allocations: 102.8 kB / 0.9572 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.509, allocations: 0 / 0.9572 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5091, allocations: 0 / 0.9572 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.5091, allocations: 1.125 kB / 0.9572 GB, free: 6.027 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.0003206/0.5094, allocations: 356.2 kB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.5094, allocations: 8.844 kB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.5095, allocations: 31.88 kB / 0.9576 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/0.5098, allocations: 29.56 kB / 0.9576 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.772e-05/0.5099, allocations: 169.5 kB / 0.9578 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.5099, allocations: 5.562 kB / 0.9578 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.5099, allocations: 1.562 kB / 0.9578 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.5101, allocations: 53.53 kB / 0.9579 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.5101, allocations: 9.172 kB / 0.9579 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5101, allocations: 4 kB / 0.9579 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5101, allocations: 0.9062 kB / 0.9579 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.5103, allocations: 30.91 kB / 0.9579 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.5104, allocations: 167.6 kB / 0.9581 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.5107, allocations: 67.45 kB / 0.9581 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.5107, allocations: 23.94 kB / 0.9581 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.5108, allocations: 9.641 kB / 0.9582 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.5108, allocations: 30.56 kB / 0.9582 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.5108, allocations: 1.5 kB / 0.9582 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003064/0.5139, allocations: 0.578 MB / 0.9587 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.924e-05/0.5139, allocations: 51.41 kB / 0.9588 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.372e-05/0.5139, allocations: 97.61 kB / 0.9589 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.5139, allocations: 25.7 kB / 0.9589 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.271e-05/0.514, allocations: 89.95 kB / 0.959 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.514, allocations: 21.41 kB / 0.959 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.514, allocations: 15.53 kB / 0.959 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.5141, allocations: 316.8 kB / 0.9593 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.5142, allocations: 37.94 kB / 0.9594 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.5143, allocations: 38.06 kB / 0.9594 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.5146, allocations: 82.78 kB / 0.9595 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5146, allocations: 1.375 kB / 0.9595 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002974/0.5149, allocations: 132.3 kB / 0.9596 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5149, allocations: 7.062 kB / 0.9596 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5149, allocations: 0 / 0.9596 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.5149, allocations: 1.375 kB / 0.9596 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.5151, allocations: 25.72 kB / 0.9596 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5151, allocations: 1.375 kB / 0.9596 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.5153, allocations: 4.125 kB / 0.9597 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.5153, allocations: 6.734 kB / 0.9597 GB, free: 3.719 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.5153, allocations: 111.2 kB / 0.9598 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.5154, allocations: 6.688 kB / 0.9598 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.5154, allocations: 17.28 kB / 0.9598 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.5154, allocations: 3.984 kB / 0.9598 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5154, allocations: 5.312 kB / 0.9598 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.5155, allocations: 0 / 0.9598 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.573e-05/0.5156, allocations: 190.5 kB / 0.96 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5156, allocations: 0 / 0.96 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.5158, allocations: 34.97 kB / 0.96 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5158, allocations: 0 / 0.96 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.5158, allocations: 1.375 kB / 0.96 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5158, allocations: 1.375 kB / 0.96 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5158, allocations: 0 / 0.96 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.5163, allocations: 189.9 kB / 0.9602 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.5163, allocations: 87.41 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.5163, allocations: 0 / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.5165, allocations: 11.95 kB / 0.9603 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.5165, allocations: 9.547 kB / 0.9603 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.5165, allocations: 14.52 kB / 0.9603 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.609e-05/0.5165, allocations: 77.12 kB / 0.9604 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5166, allocations: 3.938 kB / 0.9604 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002221/0.5168, allocations: 26.69 kB / 0.9604 GB, free: 2.988 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006653/0.5174, allocations: 0.7534 MB / 0.9612 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.5177, allocations: 93.48 kB / 0.9612 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5178, allocations: 0 / 0.9612 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.5179, allocations: 43.3 kB / 0.9613 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.5181, allocations: 14.3 kB / 0.9613 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.5196, allocations: 1.366 MB / 0.9626 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.048e-05/0.5197, allocations: 0.6823 MB / 0.9633 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.5199, allocations: 28.28 kB / 0.9633 GB, free: 244 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.52, allocations: 20.91 kB / 0.9633 GB, free: 228 kB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.52, allocations: 0 / 0.9633 GB, free: 228 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/0.5313, allocations: 2.246 MB / 0.9655 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/0.5315, allocations: 267.8 kB / 0.9658 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.095, allocations: 0 / 0.9658 GB, free: 14.88 MB / 0.7325 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/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) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[1]=-1.000000 " Variables in the reference:time,y,y_comp Variables in the result:T,TMax,TMin,der(T),der(y),der(y_comp),err,time,y,y_comp