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.0009074/0.0009074, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005744/0.005744, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.494/2.494, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 12 kB / 0.873 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6509/0.6513, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001382/0.6527, allocations: 1.023 MB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.6538, allocations: 0.632 MB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.654e-05/0.6538, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.6539, allocations: 3.938 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.95e-05/0.6539, allocations: 4 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.6543, allocations: 87.62 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.6544, allocations: 27.86 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.6544, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.339e-05/0.6544, allocations: 12 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.6545, allocations: 11.92 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.6545, allocations: 7.984 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.6548, allocations: 147.7 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.6548, allocations: 3.984 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.6549, allocations: 41.69 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.655, allocations: 98.02 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6551, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6551, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.6551, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 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.0004106/0.6555, allocations: 351.4 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.6555, allocations: 8.031 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.6556, allocations: 42.69 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.656, allocations: 28.91 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.6561, allocations: 168.3 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.6561, allocations: 4.375 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.6561, allocations: 4.375 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.6563, allocations: 62.16 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6563, allocations: 3.938 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.6563, allocations: 0 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.6563, allocations: 3.938 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.6565, allocations: 27.97 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.6567, allocations: 165.7 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.657, allocations: 62.53 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.145e-05/0.6571, allocations: 28.92 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.6571, allocations: 8 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.6571, allocations: 38.5 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.6571, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.003486/0.6606, allocations: 0.5759 MB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.6607, allocations: 51.41 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.55e-05/0.6607, allocations: 93.84 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.6608, allocations: 33.7 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.6608, allocations: 80.14 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.6608, allocations: 11.75 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.6609, allocations: 17.72 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.661, allocations: 319 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.6611, allocations: 39.97 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.6613, allocations: 31.97 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.6616, allocations: 88.75 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.6616, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003534/0.6619, allocations: 129.5 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.662, allocations: 4 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.662, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.662, allocations: 8 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.6622, allocations: 19.97 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.6622, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.6624, allocations: 7.984 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.6624, allocations: 7.938 kB / 1.028 GB, free: 11 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.347e-05/0.6625, allocations: 118.3 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.6625, allocations: 7.922 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.6626, allocations: 15.91 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.6626, allocations: 4 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6626, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6626, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.6628, allocations: 195.5 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6628, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.663, allocations: 27.91 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.663, allocations: 0 / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.6631, allocations: 7.984 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6631, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.6631, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/0.6636, allocations: 196.9 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.6637, allocations: 85.08 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.6637, allocations: 0 / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.6639, allocations: 15.98 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.6639, allocations: 3.984 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.6639, allocations: 8.062 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.664, allocations: 75.28 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.664, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002458/0.6642, allocations: 35.98 kB / 1.028 GB, free: 10.12 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.0008767/0.6651, allocations: 0.7492 MB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.6654, allocations: 91.92 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.6655, allocations: 0 / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.6656, allocations: 43.95 kB / 1.029 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.6658, allocations: 15.95 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.6678, allocations: 1.369 MB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.668, allocations: 0.677 MB / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002282/0.6682, allocations: 27.98 kB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.6683, allocations: 15.42 kB / 1.031 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6683, allocations: 0 / 1.031 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0115/0.6798, allocations: 2.264 MB / 1.034 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003093/0.6802, allocations: 262.4 kB / 1.034 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.36, allocations: 2.031 kB / 1.034 GB, free: 4.656 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