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.001541/0.001541, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001758/0.001758, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.25/1.25, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.145/2.145, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5605/0.5618, allocations: 140.4 MB / 0.9493 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001875/0.5637, allocations: 1.313 MB / 0.9505 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003533/0.5641, allocations: 228.9 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.212e-05/0.5641, allocations: 0 / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.5641, allocations: 0 / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.242e-05/0.5642, allocations: 1.406 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.5644, allocations: 39.02 kB / 0.9508 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.512e-05/0.5645, allocations: 25.53 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.5645, allocations: 1.219 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.873e-05/0.5645, allocations: 5.094 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.5646, allocations: 14.55 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.5646, allocations: 1.281 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.5647, allocations: 44.42 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.5647, allocations: 5.281 kB / 0.9509 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.5647, allocations: 11.64 kB / 0.9509 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.183e-05/0.5648, allocations: 35.09 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.5648, allocations: 1.219 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5648, allocations: 0 / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.5648, allocations: 4 kB / 0.9509 GB, free: 7.762 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.0002481/0.5651, allocations: 332.5 kB / 0.9513 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.5651, allocations: 9 kB / 0.9513 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.64e-05/0.5652, allocations: 39.78 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.5653, allocations: 16.14 kB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.691e-05/0.5653, allocations: 164.3 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.5654, allocations: 1.781 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.5654, allocations: 10.97 kB / 0.9515 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.291e-05/0.5655, allocations: 46.38 kB / 0.9515 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.5655, allocations: 7.922 kB / 0.9515 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.5655, allocations: 0 / 0.9515 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5655, allocations: 1.438 kB / 0.9515 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/0.5656, allocations: 15.73 kB / 0.9516 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.5657, allocations: 155 kB / 0.9517 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.448e-05/0.5658, allocations: 46.19 kB / 0.9517 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.5658, allocations: 25.67 kB / 0.9518 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.5658, allocations: 1.469 kB / 0.9518 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.5658, allocations: 31.91 kB / 0.9518 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.5658, allocations: 0 / 0.9518 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.001909/0.5678, allocations: 0.4967 MB / 0.9523 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.5678, allocations: 52.34 kB / 0.9523 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.307e-05/0.5678, allocations: 89.86 kB / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.5678, allocations: 31.02 kB / 0.9525 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.27e-05/0.5678, allocations: 80.14 kB / 0.9525 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.5679, allocations: 34.77 kB / 0.9526 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.5679, allocations: 23.72 kB / 0.9526 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.151e-05/0.5679, allocations: 311.9 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.979e-05/0.568, allocations: 23.27 kB / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.568, allocations: 24.98 kB / 0.9529 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.259e-05/0.5681, allocations: 54.58 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5681, allocations: 0 / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001234/0.5682, allocations: 97.09 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.5683, allocations: 5.062 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.5683, allocations: 4 kB / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.5683, allocations: 0 / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.5684, allocations: 16.61 kB / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5684, allocations: 5.047 kB / 0.9531 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.5685, allocations: 1.281 kB / 0.9531 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.5685, allocations: 9.609 kB / 0.9531 GB, free: 5.613 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.46e-05/0.5686, allocations: 108.7 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.5686, allocations: 13.06 kB / 0.9532 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.5686, allocations: 17.16 kB / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5686, allocations: 9.031 kB / 0.9533 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5687, allocations: 3.938 kB / 0.9533 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5687, allocations: 0 / 0.9533 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.803e-05/0.5687, allocations: 181.1 kB / 0.9534 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.5687, allocations: 0 / 0.9534 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.5689, allocations: 20.17 kB / 0.9534 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5689, allocations: 0 / 0.9534 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5689, allocations: 5.156 kB / 0.9535 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5689, allocations: 1.094 kB / 0.9535 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5689, allocations: 0 / 0.9535 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.5691, allocations: 146.3 kB / 0.9536 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.5691, allocations: 82.2 kB / 0.9537 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.5692, allocations: 1.312 kB / 0.9537 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.5693, allocations: 7.828 kB / 0.9537 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.5693, allocations: 6.781 kB / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.5693, allocations: 1.094 kB / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.377e-06/0.5693, allocations: 75.28 kB / 0.9538 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5693, allocations: 5.281 kB / 0.9538 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001801/0.5695, allocations: 9.906 kB / 0.9538 GB, free: 4.934 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.000319/0.5698, allocations: 0.6926 MB / 0.9545 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.57, allocations: 66.61 kB / 0.9545 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.57, allocations: 0 / 0.9545 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.57, allocations: 34.08 kB / 0.9545 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.5702, allocations: 7.75 kB / 0.9546 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000947/0.5712, allocations: 1.286 MB / 0.9558 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.925e-05/0.5713, allocations: 0.6804 MB / 0.9565 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.138e-05/0.5714, allocations: 6.375 kB / 0.9565 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.5714, allocations: 17.81 kB / 0.9565 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.5714, allocations: 1.188 kB / 0.9565 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.5827, allocations: 1.548 MB / 0.958 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001358/0.5829, allocations: 262.9 kB / 0.9583 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.135, allocations: 0 / 0.9583 GB, free: 1.258 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