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.001276/0.001276, allocations: 108 kB / 15.6 MB, free: 132 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.001319/0.001319, allocations: 192.7 kB / 16.53 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.152/2.152, allocations: 390.3 MB / 0.6647 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.89 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5299/0.5312, allocations: 140.4 MB / 0.9497 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002156/0.5334, allocations: 1.245 MB / 0.951 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003604/0.5337, allocations: 229.6 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.457e-05/0.5338, allocations: 3.938 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.5338, allocations: 0 / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.913e-05/0.5338, allocations: 5.438 kB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.534, allocations: 46.91 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.591e-05/0.5341, allocations: 14.16 kB / 0.9512 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.413e-05/0.5341, allocations: 5.578 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.5342, allocations: 8.156 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.5342, allocations: 15.03 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.5342, allocations: 5.969 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-05/0.5343, allocations: 43.16 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.5343, allocations: 5.234 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.5344, allocations: 8.5 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.566e-05/0.5345, allocations: 43.3 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5345, allocations: 0 / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5345, allocations: 0 / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.5345, allocations: 1.156 kB / 0.9514 GB, free: 7.773 MB / 0.7169 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.0002493/0.5348, allocations: 339.9 kB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.5348, allocations: 9.656 kB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.192e-05/0.5348, allocations: 32.19 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.5349, allocations: 14.52 kB / 0.9517 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.951e-05/0.535, allocations: 169.7 kB / 0.9519 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.535, allocations: 1.688 kB / 0.9519 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.535, allocations: 5.562 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/0.5351, allocations: 54.47 kB / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5351, allocations: 5.062 kB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.5351, allocations: 0 / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.5351, allocations: 5.25 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.299e-05/0.5352, allocations: 15.92 kB / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.226e-05/0.5353, allocations: 159.7 kB / 0.9521 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.607e-05/0.5354, allocations: 37.67 kB / 0.9522 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.5354, allocations: 21.66 kB / 0.9522 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.5354, allocations: 1.625 kB / 0.9522 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.5354, allocations: 38.5 kB / 0.9522 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.5354, allocations: 0 / 0.9522 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.001821/0.5373, allocations: 0.493 MB / 0.9527 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.5373, allocations: 52.59 kB / 0.9528 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.27e-05/0.5373, allocations: 90.86 kB / 0.9529 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.5373, allocations: 29.7 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.628e-06/0.5373, allocations: 81.23 kB / 0.953 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.5374, allocations: 27.12 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.5374, allocations: 23.14 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.209e-05/0.5374, allocations: 315.9 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.5375, allocations: 26.95 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.5375, allocations: 24.25 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.787e-05/0.5376, allocations: 64.03 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.5376, allocations: 0 / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001213/0.5378, allocations: 91.97 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.5378, allocations: 5.188 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.5378, allocations: 0 / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.5378, allocations: 1.562 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.5379, allocations: 11.28 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.5379, allocations: 3.984 kB / 0.9535 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.538, allocations: 9.562 kB / 0.9535 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.538, allocations: 5.359 kB / 0.9535 GB, free: 5.621 MB / 0.7169 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 4.325e-05/0.5381, allocations: 112.7 kB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.5381, allocations: 9.094 kB / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.5381, allocations: 13 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5381, allocations: 1.125 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5381, allocations: 3.938 kB / 0.9537 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5382, allocations: 1.094 kB / 0.9537 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.754e-05/0.5382, allocations: 180.6 kB / 0.9539 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5382, allocations: 4 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.5384, allocations: 28.8 kB / 0.9539 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5384, allocations: 0 / 0.9539 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.5384, allocations: 1.344 kB / 0.9539 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5384, allocations: 3.938 kB / 0.9539 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5384, allocations: 1.594 kB / 0.9539 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.5386, allocations: 141.7 kB / 0.954 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.5386, allocations: 82.58 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.5386, allocations: 4.062 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.5387, allocations: 12.05 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.5388, allocations: 3.031 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.5388, allocations: 1.094 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.496e-06/0.5388, allocations: 80.97 kB / 0.9542 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5388, allocations: 0 / 0.9542 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001841/0.539, allocations: 12.5 kB / 0.9542 GB, free: 4.938 MB / 0.7169 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.0003001/0.5393, allocations: 0.6856 MB / 0.9549 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.5394, allocations: 65.88 kB / 0.9549 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5394, allocations: 1.531 kB / 0.9549 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.5395, allocations: 37.33 kB / 0.955 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.5397, allocations: 5.625 kB / 0.955 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009342/0.5406, allocations: 1.272 MB / 0.9562 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.47e-05/0.5407, allocations: 0.684 MB / 0.9569 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.77e-05/0.5408, allocations: 10.89 kB / 0.9569 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.5409, allocations: 9.75 kB / 0.9569 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5409, allocations: 0 / 0.9569 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.5595, allocations: 1.615 MB / 0.9585 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.347, allocations: 8.359 kB / 0.9585 GB, free: 1.473 MB / 0.7169 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) "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