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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001374/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001416/0.001416, allocations: 194.6 kB / 16.14 MB, free: 6.648 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 60.05 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5765/0.5778, allocations: 151.6 MB / 1.017 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002382/0.5802, allocations: 1.356 MB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.5813, allocations: 0.6436 MB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.5813, allocations: 4 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.5813, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.089e-05/0.5814, allocations: 7.922 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.5818, allocations: 95.62 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.257e-05/0.5819, allocations: 27.86 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.5819, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.5819, allocations: 11.94 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.582, allocations: 19.91 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.582, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.5823, allocations: 143.7 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.5823, allocations: 11.98 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.5823, allocations: 7.984 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.5825, allocations: 98.08 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5826, allocations: 0 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5826, allocations: 3.938 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.5826, allocations: 0 / 1.019 GB, free: 484 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.0004363/0.583, allocations: 355.4 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5831, allocations: 8.031 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.5831, allocations: 38.69 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/0.5835, allocations: 28.95 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/0.5837, allocations: 172.3 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.5837, allocations: 384 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.5837, allocations: 384 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.5839, allocations: 58.22 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.5839, allocations: 3.938 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.5839, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.5839, allocations: 7.938 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.5841, allocations: 27.91 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.5842, allocations: 165.6 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.5846, allocations: 70.53 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.838e-05/0.5847, allocations: 24.94 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.5847, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.5847, allocations: 38.56 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.5847, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.003672/0.5884, allocations: 0.5759 MB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.5885, allocations: 51.41 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/0.5885, allocations: 101.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5886, allocations: 25.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.5886, allocations: 84.27 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.5886, allocations: 23.66 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.5887, allocations: 29.69 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.5888, allocations: 314.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.5889, allocations: 31.97 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.5891, allocations: 35.97 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.5894, allocations: 92.8 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.5894, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003537/0.5898, allocations: 125.5 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5898, allocations: 4 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5898, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.5898, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.59, allocations: 27.97 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5901, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.5902, allocations: 7.984 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.5903, allocations: 11.92 kB / 1.022 GB, free: 13.68 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 7.897e-05/0.5903, allocations: 114.4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.5904, allocations: 7.938 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.426e-05/0.5904, allocations: 7.969 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.5904, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5905, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5905, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.5906, allocations: 187.5 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5906, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.5909, allocations: 31.84 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5909, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.5909, allocations: 3.984 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5909, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5909, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.5915, allocations: 188.9 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.5915, allocations: 89.16 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.5915, allocations: 8.031 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.5917, allocations: 8.391 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.5918, allocations: 7.984 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.5918, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.048e-05/0.5918, allocations: 83.27 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5918, allocations: 3.938 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000247/0.5921, allocations: 36 kB / 1.022 GB, free: 12.82 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.0008446/0.5929, allocations: 0.757 MB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.5933, allocations: 87.86 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5933, allocations: 0 / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.5934, allocations: 43.97 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.5937, allocations: 16.31 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.5956, allocations: 1.347 MB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.5958, allocations: 0.6848 MB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002344/0.5961, allocations: 28.03 kB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.5961, allocations: 23.41 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of SimCode: time 1.303e-06/0.5962, allocations: 0 / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01173/0.6079, allocations: 2.323 MB / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.6081, allocations: 267.9 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.35, allocations: 2.5 kB / 1.028 GB, free: 7.238 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