Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_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.008952/0.008952, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002345/0.002345, allocations: 198.3 kB / 16.67 MB, free: 5.977 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3468, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002663/0.3495, allocations: 1.295 MB / 1.209 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3508, allocations: 0.6314 MB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.3508, allocations: 0 / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.3508, allocations: 0 / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.3509, allocations: 11.91 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.3515, allocations: 103.6 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.223e-05/0.3516, allocations: 35.78 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.3516, allocations: 4 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.442e-05/0.3517, allocations: 4 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.3517, allocations: 23.92 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.3518, allocations: 0 / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.3521, allocations: 143.8 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.3521, allocations: 4 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.3521, allocations: 11.92 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3524, allocations: 96.05 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3524, allocations: 3.984 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3524, allocations: 0 / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3524, allocations: 0 / 1.21 GB, free: 7.754 MB / 0.9669 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.0005023/0.3529, allocations: 363.3 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.353, allocations: 8.031 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.353, allocations: 34.75 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.3535, allocations: 28.91 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3536, allocations: 168.4 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3536, allocations: 4.312 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.3537, allocations: 4.375 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.3539, allocations: 58.22 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3539, allocations: 7.938 kB / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3539, allocations: 0 / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3539, allocations: 3.938 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.3541, allocations: 27.97 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.3543, allocations: 161.5 kB / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.3546, allocations: 70.58 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3547, allocations: 24.94 kB / 1.211 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3547, allocations: 3.984 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3548, allocations: 38.56 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/0.3548, allocations: 3.938 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.003775/0.3586, allocations: 0.572 MB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3586, allocations: 59.41 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.3587, allocations: 93.84 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.3588, allocations: 25.7 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.3588, allocations: 88.14 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.3589, allocations: 11.72 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.359, allocations: 29.69 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3591, allocations: 314.8 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3593, allocations: 40.09 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3594, allocations: 31.97 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.3597, allocations: 84.81 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3597, allocations: 4 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003601/0.3601, allocations: 121.5 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3601, allocations: 4 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3601, allocations: 0 / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3602, allocations: 64 / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.3604, allocations: 35.97 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3604, allocations: 7.875 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.3606, allocations: 7.984 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.3606, allocations: 4 kB / 1.212 GB, free: 4.965 MB / 0.9669 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 0.0001376/0.3608, allocations: 113.8 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.3608, allocations: 11.84 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.109e-05/0.3609, allocations: 11.97 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3609, allocations: 4.266 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3609, allocations: 4 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3609, allocations: 0 / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.3612, allocations: 179.7 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3612, allocations: 4 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.3614, allocations: 27.89 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3615, allocations: 4 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.3615, allocations: 7.984 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3615, allocations: 0 / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3615, allocations: 0 / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.3621, allocations: 185 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.3622, allocations: 92.98 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.3622, allocations: 3.984 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.3624, allocations: 8 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.3625, allocations: 7.922 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.3625, allocations: 4 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.794e-05/0.3625, allocations: 79.34 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3625, allocations: 0 / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003105/0.3628, allocations: 39.92 kB / 1.213 GB, free: 4.094 MB / 0.9669 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.0009409/0.3638, allocations: 0.7453 MB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.3642, allocations: 92.06 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3642, allocations: 0 / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.3643, allocations: 51.95 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3646, allocations: 4 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.3667, allocations: 1.36 MB / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.367, allocations: 0.6846 MB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.3672, allocations: 23.98 kB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.3673, allocations: 19.42 kB / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.3673, allocations: 0 / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.3907, allocations: 2.518 MB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/8.086, allocations: 6.125 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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[8]=-0.972000 " 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