Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_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.001627/0.001627, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 194.7 kB / 16.53 MB, free: 6.691 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.551/2.551, allocations: 461.9 MB / 0.7346 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.89 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2298, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002172/0.232, allocations: 1.26 MB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004456/0.2325, allocations: 235.2 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.2325, allocations: 0 / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.2325, allocations: 4 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.102e-05/0.2326, allocations: 0 / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.2329, allocations: 43.77 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.244e-05/0.2329, allocations: 19.92 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.233, allocations: 4 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.273e-05/0.233, allocations: 11.98 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.233, allocations: 7.984 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2331, allocations: 4 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.2332, allocations: 43.95 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.2332, allocations: 7.938 kB / 1.055 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.2332, allocations: 4 kB / 1.055 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.2333, allocations: 44.16 kB / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2334, allocations: 0 / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2334, allocations: 0 / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2334, allocations: 8 kB / 1.055 GB, free: 6.582 MB / 0.8106 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.0003235/0.2337, allocations: 331.5 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2337, allocations: 8.031 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.2338, allocations: 42.62 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.2339, allocations: 12.92 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.955e-05/0.234, allocations: 160.4 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.234, allocations: 384 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.234, allocations: 4.375 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.2342, allocations: 54.23 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2342, allocations: 3.938 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2342, allocations: 0 / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2342, allocations: 0 / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.269e-05/0.2342, allocations: 12 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.2344, allocations: 157.7 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.2345, allocations: 46.56 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.2345, allocations: 28.97 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2345, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2346, allocations: 30.56 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.2346, allocations: 0 / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.001962/0.2365, allocations: 0.4983 MB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.2366, allocations: 51.41 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.678e-05/0.2366, allocations: 93.86 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2366, allocations: 25.7 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.2367, allocations: 87.98 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.2367, allocations: 27.64 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.2367, allocations: 25.72 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.2368, allocations: 314.8 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.2369, allocations: 24.06 kB / 1.057 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.2369, allocations: 27.98 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.237, allocations: 57.05 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.237, allocations: 0 / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001428/0.2372, allocations: 105.4 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2372, allocations: 4 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2372, allocations: 0 / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2372, allocations: 4 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.2374, allocations: 15.98 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2374, allocations: 0 / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.2375, allocations: 7.938 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.2375, allocations: 4 kB / 1.057 GB, free: 4.07 MB / 0.8106 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.824e-05/0.2376, allocations: 109.8 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.2376, allocations: 3.938 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.2376, allocations: 15.97 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2376, allocations: 3.984 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2376, allocations: 8 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2376, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2378, allocations: 175.4 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2378, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.2379, allocations: 15.94 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2379, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.238, allocations: 4 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.238, allocations: 4.078 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.238, allocations: 3.984 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.2382, allocations: 145 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.2383, allocations: 88.94 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2383, allocations: 0 / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2384, allocations: 4.031 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.2384, allocations: 8 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2384, allocations: 7.984 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.079e-05/0.2385, allocations: 75.28 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.2385, allocations: 0 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001937/0.2387, allocations: 12.06 kB / 1.057 GB, free: 3.305 MB / 0.8106 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.0004399/0.2391, allocations: 0.6866 MB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.2393, allocations: 75.83 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2393, allocations: 0 / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.2393, allocations: 28 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.2396, allocations: 16.05 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2408, allocations: 1.258 MB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.241, allocations: 0.6844 MB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.913e-05/0.2411, allocations: 4 kB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.2411, allocations: 15.44 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of SimCode: time 3.5e-07/0.2411, allocations: 4 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.452/0.6932, allocations: 1.635 MB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.29/7.983, allocations: 0.875 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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:X_w,der(X_w),der(p),der(y),der(y_comp),err,p,time,y,y_comp