Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_10_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.001286/0.001286, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001344, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 71.89 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.546, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002283/0.5483, allocations: 1.283 MB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.5493, allocations: 0.6395 MB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.5493, allocations: 4 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.5494, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.5494, allocations: 3.938 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.5499, allocations: 107.5 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.21e-05/0.5499, allocations: 27.86 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.55, allocations: 4 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.55, allocations: 4 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.55, allocations: 15.97 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.5501, allocations: 7.938 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.5503, allocations: 143.7 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.5504, allocations: 4 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.5504, allocations: 15.97 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.5506, allocations: 94.08 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5506, allocations: 0 / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5506, allocations: 0 / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.5507, allocations: 0 / 1.02 GB, free: 136 kB / 0.7637 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.0004486/0.5511, allocations: 351.4 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5512, allocations: 16.03 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.5512, allocations: 34.75 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/0.5516, allocations: 24.91 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.798e-05/0.5517, allocations: 176.2 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.5517, allocations: 4.375 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.5518, allocations: 384 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.5519, allocations: 66.16 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.552, allocations: 3.938 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.552, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.552, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.5521, allocations: 27.97 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.5523, allocations: 161.6 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.5526, allocations: 82.39 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.298e-05/0.5527, allocations: 24.94 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.5527, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.5528, allocations: 34.56 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.5528, allocations: 4 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.003451/0.5562, allocations: 0.5681 MB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.5563, allocations: 51.41 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.5563, allocations: 101.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.5564, allocations: 29.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.5564, allocations: 80.14 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.5565, allocations: 15.75 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.5565, allocations: 25.69 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.5566, allocations: 318.8 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.5568, allocations: 36.09 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.5569, allocations: 39.91 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.5572, allocations: 84.95 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5572, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003584/0.5576, allocations: 129.5 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5576, allocations: 8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5576, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5576, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.5579, allocations: 27.97 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5579, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.558, allocations: 15.92 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.5581, allocations: 8.047 kB / 1.022 GB, free: 13.34 MB / 0.7794 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 8.209e-05/0.5581, allocations: 113.8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.5582, allocations: 7.875 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.5582, allocations: 19.91 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5583, allocations: 336 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5583, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5583, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.5584, allocations: 195.5 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5584, allocations: 3.984 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.5587, allocations: 27.91 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5587, allocations: 0 / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.5587, allocations: 11.98 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5587, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5587, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.5593, allocations: 196.9 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.5593, allocations: 85.03 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.5593, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.5595, allocations: 8.031 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.5596, allocations: 3.984 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.5596, allocations: 4 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.5596, allocations: 83.27 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5596, allocations: 4.156 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002499/0.5599, allocations: 28 kB / 1.023 GB, free: 12.47 MB / 0.7794 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.000869/0.5608, allocations: 0.7529 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.5611, allocations: 91.92 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5611, allocations: 4.062 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.5613, allocations: 43.91 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.5615, allocations: 20.17 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.5635, allocations: 1.337 MB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.5637, allocations: 0.6808 MB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000226/0.5639, allocations: 27.88 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.564, allocations: 27.41 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.564, allocations: 0 / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.5912, allocations: 2.455 MB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.87, allocations: 24.95 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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