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.007041/0.007041, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001821/0.001821, allocations: 192.4 kB / 16.67 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.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.63/2.63, allocations: 437.1 MB / 0.7106 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 63.91 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3016, allocations: 151.6 MB / 1.166 GB, free: 7.422 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002267/0.3039, allocations: 1.287 MB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.305, allocations: 0.6437 MB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.3051, allocations: 0 / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.904e-05/0.3051, allocations: 0 / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.3051, allocations: 7.938 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.3056, allocations: 107.5 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.583e-05/0.3056, allocations: 31.86 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.3057, allocations: 0 / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.325e-05/0.3057, allocations: 23.91 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.3058, allocations: 7.984 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.3058, allocations: 0 / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.3061, allocations: 139.8 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.3061, allocations: 3.984 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.3061, allocations: 11.94 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3064, allocations: 103.9 kB / 1.169 GB, free: 5.039 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3064, allocations: 0 / 1.169 GB, free: 5.039 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3064, allocations: 0 / 1.169 GB, free: 5.039 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3064, allocations: 0 / 1.169 GB, free: 5.039 MB / 0.92 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.0004823/0.3069, allocations: 355.2 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3069, allocations: 8.031 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.307, allocations: 34.75 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003849/0.3073, allocations: 32.89 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3075, allocations: 160.4 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3075, allocations: 4.375 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.3075, allocations: 8.328 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.3077, allocations: 58.2 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3077, allocations: 3.938 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3077, allocations: 3.984 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3078, allocations: 4 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3079, allocations: 27.92 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.3081, allocations: 165.6 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.3084, allocations: 66.58 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.3085, allocations: 28.94 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3085, allocations: 4 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3086, allocations: 30.56 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.3086, allocations: 3.938 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.003184/0.3117, allocations: 0.5797 MB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.3118, allocations: 55.41 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.749e-05/0.3119, allocations: 93.86 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3119, allocations: 29.7 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.3119, allocations: 88.27 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.312, allocations: 19.84 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.312, allocations: 25.7 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3122, allocations: 318.8 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.3123, allocations: 39.97 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3125, allocations: 39.95 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.3127, allocations: 80.81 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3127, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003621/0.3131, allocations: 129.5 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3131, allocations: 4 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3131, allocations: 0 / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3132, allocations: 4 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.3134, allocations: 19.97 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3134, allocations: 0 / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3135, allocations: 4 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3135, allocations: 7.984 kB / 1.171 GB, free: 2.258 MB / 0.92 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 9.085e-05/0.3136, allocations: 117.8 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.3137, allocations: 7.891 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.3137, allocations: 11.97 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3138, allocations: 12 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3138, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3138, allocations: 3.984 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.3139, allocations: 179.8 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.314, allocations: 11.86 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.3142, allocations: 23.91 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3142, allocations: 0 / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3142, allocations: 4 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3142, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3142, allocations: 336 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/0.3148, allocations: 193 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.3148, allocations: 89.03 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.3148, allocations: 4.047 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.315, allocations: 15.98 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.3151, allocations: 4 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3151, allocations: 7.984 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.3151, allocations: 79.22 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.3151, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002291/0.3154, allocations: 31.88 kB / 1.172 GB, free: 1.375 MB / 0.92 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.0009128/0.3163, allocations: 0.7608 MB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.3166, allocations: 88.09 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3166, allocations: 4 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3168, allocations: 47.95 kB / 1.173 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.3171, allocations: 12.39 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.319, allocations: 1.348 MB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.3193, allocations: 0.6807 MB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001528/0.3195, allocations: 31.97 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/0.3196, allocations: 23.41 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.3196, allocations: 0 / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3182/0.6377, allocations: 2.483 MB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.897/9.535, allocations: 18.7 kB / 1.177 GB, free: 11.95 MB / 0.9356 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=400 --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) Reference file matches