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.008651/0.008651, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001742/0.001742, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.353/2.353, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.72 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2388, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002282/0.2411, allocations: 1.253 MB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004684/0.2416, allocations: 235.6 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.2416, allocations: 4 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.2417, allocations: 0 / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.61e-05/0.2417, allocations: 0 / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.242, allocations: 43.83 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.2421, allocations: 23.86 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.2421, allocations: 0 / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.2421, allocations: 8 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.2422, allocations: 15.97 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2422, allocations: 0 / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.946e-05/0.2423, allocations: 43.95 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.2424, allocations: 3.938 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.2424, allocations: 11.94 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.2425, allocations: 46.69 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2425, allocations: 4 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2425, allocations: 4 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2425, allocations: 0 / 1.089 GB, free: 316 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.0003959/0.2429, allocations: 327.6 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.243, allocations: 8.031 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.243, allocations: 30.75 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.2432, allocations: 12.92 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.952e-05/0.2433, allocations: 164.9 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.2433, allocations: 12.38 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.2433, allocations: 384 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2434, allocations: 42.25 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2435, allocations: 3.938 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2435, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2435, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.2435, allocations: 15.98 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.2437, allocations: 158 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.725e-05/0.2438, allocations: 50.56 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.2438, allocations: 16.98 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.2439, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.2439, allocations: 38.56 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 2.274e-06/0.2439, allocations: 3.984 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001996/0.2459, allocations: 0.4979 MB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.246, allocations: 55.41 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.388e-05/0.246, allocations: 93.86 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.246, allocations: 25.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.2461, allocations: 84.14 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.2461, allocations: 27.64 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.2462, allocations: 25.59 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2463, allocations: 318.8 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.2463, allocations: 19.98 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.2464, allocations: 23.98 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.2465, allocations: 60.98 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2465, allocations: 448 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001535/0.2467, allocations: 105.5 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2467, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2467, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2467, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.2468, allocations: 19.98 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.2469, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.2469, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.2469, allocations: 0 / 1.091 GB, free: 13.81 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 7.853e-05/0.247, allocations: 117.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.247, allocations: 3.938 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.2471, allocations: 15.97 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2471, allocations: 4 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2471, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.2471, allocations: 3.984 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.2473, allocations: 171.3 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2473, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.2474, allocations: 19.92 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2474, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2474, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2474, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2474, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.2477, allocations: 145 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.2477, allocations: 84.95 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.2477, allocations: 12.02 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.2479, allocations: 4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.2479, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.2479, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.859e-05/0.2479, allocations: 79.44 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2479, allocations: 7.875 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002056/0.2481, allocations: 12 kB / 1.092 GB, free: 13.03 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.0004781/0.2486, allocations: 0.6866 MB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.2488, allocations: 55.97 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2488, allocations: 4.062 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.2489, allocations: 39.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.0002262/0.2491, allocations: 5.016 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2503, allocations: 1.277 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.2505, allocations: 0.6768 MB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.54e-05/0.2506, allocations: 12.38 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.2507, allocations: 15.44 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.2507, allocations: 0 / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.2676, allocations: 1.651 MB / 1.096 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.77, allocations: 18.02 kB / 1.096 GB, free: 8.656 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