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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007249/0.007249, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001904/0.001905, allocations: 187.2 kB / 16.67 MB, free: 5.922 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 482.6 MB / 0.7551 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 65.22 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3607, allocations: 162.3 MB / 1.242 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002417/0.3631, allocations: 1.247 MB / 1.243 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005525/0.3637, allocations: 235.5 kB / 1.243 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.3637, allocations: 0 / 1.243 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.3638, allocations: 0 / 1.243 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.977e-05/0.3638, allocations: 3.984 kB / 1.243 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.3641, allocations: 47.77 kB / 1.243 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.855e-05/0.3642, allocations: 19.98 kB / 1.243 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.3642, allocations: 0 / 1.243 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.219e-05/0.3643, allocations: 8 kB / 1.243 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.3643, allocations: 15.91 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3644, allocations: 0 / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3645, allocations: 43.95 kB / 1.243 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.3645, allocations: 8 kB / 1.243 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.3645, allocations: 3.938 kB / 1.243 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.3647, allocations: 40.17 kB / 1.243 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3647, allocations: 0 / 1.243 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.421e-06/0.3647, allocations: 7.984 kB / 1.244 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3647, allocations: 0 / 1.244 GB, free: 7.176 MB / 0.9669 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.0004362/0.3651, allocations: 343.3 kB / 1.244 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3652, allocations: 12.03 kB / 1.244 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.517e-05/0.3652, allocations: 30.75 kB / 1.244 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.3654, allocations: 12.92 kB / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.3655, allocations: 160.4 kB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3655, allocations: 384 / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.3656, allocations: 16.31 kB / 1.244 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.3657, allocations: 46.25 kB / 1.244 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3658, allocations: 3.938 kB / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3658, allocations: 0 / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3658, allocations: 0 / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.75e-05/0.3658, allocations: 23.91 kB / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.366, allocations: 161.7 kB / 1.244 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.633e-05/0.3661, allocations: 42.56 kB / 1.244 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.3662, allocations: 24.98 kB / 1.244 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.3662, allocations: 0 / 1.244 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3662, allocations: 30.56 kB / 1.244 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3662, allocations: 0 / 1.244 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.002122/0.3684, allocations: 0.4903 MB / 1.245 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.3684, allocations: 55.34 kB / 1.245 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/0.3685, allocations: 89.86 kB / 1.245 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3685, allocations: 29.7 kB / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.3686, allocations: 88.12 kB / 1.245 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.3686, allocations: 35.67 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.3687, allocations: 21.72 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3688, allocations: 310.8 kB / 1.245 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.094e-05/0.3689, allocations: 23.98 kB / 1.245 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.3689, allocations: 23.98 kB / 1.246 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.3691, allocations: 60.86 kB / 1.246 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3691, allocations: 0 / 1.246 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001604/0.3693, allocations: 93.52 kB / 1.246 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3693, allocations: 8 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3693, allocations: 4 kB / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3693, allocations: 0 / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3695, allocations: 19.92 kB / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3695, allocations: 0 / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.534e-05/0.3695, allocations: 4 kB / 1.246 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.3696, allocations: 4 kB / 1.246 GB, free: 4.66 MB / 0.9669 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 0.0001343/0.3697, allocations: 109.8 kB / 1.246 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.3697, allocations: 7.938 kB / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.3698, allocations: 11.97 kB / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3698, allocations: 7.938 kB / 1.246 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3698, allocations: 0 / 1.246 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3698, allocations: 3.984 kB / 1.246 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.37, allocations: 176.3 kB / 1.246 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.37, allocations: 0 / 1.246 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.3701, allocations: 23.92 kB / 1.246 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3701, allocations: 3.938 kB / 1.246 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.3702, allocations: 0 / 1.246 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3702, allocations: 0 / 1.246 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3702, allocations: 0 / 1.246 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.3704, allocations: 161 kB / 1.246 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.3705, allocations: 81.05 kB / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3705, allocations: 0 / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3706, allocations: 12.02 kB / 1.246 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.3707, allocations: 4 kB / 1.246 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3707, allocations: 0 / 1.246 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.3707, allocations: 75.28 kB / 1.246 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3707, allocations: 64 / 1.246 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001975/0.3709, allocations: 20 kB / 1.246 GB, free: 3.879 MB / 0.9669 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.0005805/0.3715, allocations: 0.6793 MB / 1.247 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.3717, allocations: 63.92 kB / 1.247 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3717, allocations: 0 / 1.247 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.357e-05/0.3718, allocations: 40.03 kB / 1.247 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.3721, allocations: 4 kB / 1.247 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.3736, allocations: 1.278 MB / 1.248 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.374, allocations: 0.6807 MB / 1.249 GB, free: 1 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.655e-05/0.3741, allocations: 8 kB / 1.249 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.3742, allocations: 11.44 kB / 1.249 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.3742, allocations: 4 kB / 1.249 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.4007, allocations: 1.659 MB / 1.251 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.446, allocations: 2.938 kB / 1.251 GB, free: 15.52 MB / 0.9825 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=400 --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) Reference file matches