Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.007355/0.007355, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001663/0.001663, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.3 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2649, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00213/0.2671, allocations: 1.25 MB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004755/0.2676, allocations: 235.6 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.2676, allocations: 0 / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.2677, allocations: 3.984 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.439e-05/0.2677, allocations: 0 / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.268, allocations: 39.83 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.82e-05/0.2681, allocations: 23.86 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.2681, allocations: 4 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.297e-05/0.2682, allocations: 15.98 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.2682, allocations: 7.984 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.2682, allocations: 0 / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.2684, allocations: 43.95 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.2684, allocations: 7.938 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.2684, allocations: 4 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.2685, allocations: 47.7 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2685, allocations: 3.984 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2685, allocations: 0 / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2685, allocations: 0 / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003721/0.2689, allocations: 331.6 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.269, allocations: 12.03 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.269, allocations: 34.75 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.2691, allocations: 12.92 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.197e-05/0.2692, allocations: 164.9 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.2693, allocations: 4.312 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.2693, allocations: 384 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.2694, allocations: 54.25 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2694, allocations: 3.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2694, allocations: 4 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2694, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.2695, allocations: 15.98 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.2697, allocations: 154 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.165e-05/0.2698, allocations: 50.56 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.848e-05/0.2698, allocations: 16.98 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.2698, allocations: 8 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.2699, allocations: 30.56 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.2699, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.002154/0.272, allocations: 0.5018 MB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.2721, allocations: 51.41 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.46e-05/0.2721, allocations: 89.86 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.2721, allocations: 25.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.2722, allocations: 84.14 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.2722, allocations: 27.64 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.2723, allocations: 25.66 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.2724, allocations: 318.8 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.813e-05/0.2724, allocations: 23.98 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.063e-05/0.2725, allocations: 23.98 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.993e-05/0.2726, allocations: 52.86 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.2726, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001499/0.2727, allocations: 105.6 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2728, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2728, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2728, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.2729, allocations: 19.98 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.273, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.273, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.2731, allocations: 4 kB / 1.091 GB, free: 13.8 MB / 0.8575 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 (9): * Single equations (assignments): 9 * 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 6.931e-05/0.2731, allocations: 113.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.2731, allocations: 7.938 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.2732, allocations: 11.97 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2732, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2732, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2732, allocations: 7.984 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.2734, allocations: 179.3 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2734, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.2735, allocations: 20.36 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2735, allocations: 3.984 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.2735, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2735, allocations: 4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2735, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.2738, allocations: 145 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.2738, allocations: 88.98 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.2738, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.274, allocations: 11.98 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.274, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.274, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.274, allocations: 75.28 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.533e-06/0.274, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001956/0.2742, allocations: 19.94 kB / 1.092 GB, free: 13.02 MB / 0.8575 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 (8): * Single equations (assignments): 8 * 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.0004533/0.2747, allocations: 0.6907 MB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.2748, allocations: 64.02 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2749, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-05/0.2749, allocations: 31.92 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2752, allocations: 13.48 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2765, allocations: 1.273 MB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.2768, allocations: 0.6846 MB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.055e-05/0.2768, allocations: 4 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.2769, allocations: 11.44 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2769, allocations: 0 / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.3017, allocations: 1.665 MB / 1.096 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.205/7.507, allocations: 10.55 kB / 1.096 GB, free: 8.645 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y,y_comp Variables in the result:X_w,der(X_w),der(p),der(y),der(y_comp),err,p,time,y,y_comp