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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 219.1 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.392/3.392, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 66.86 kB / 1.171 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3879, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002538/0.3904, allocations: 1.274 MB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005606/0.391, allocations: 219.3 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.391, allocations: 4 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.391, allocations: 0 / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.3911, allocations: 7.938 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.3914, allocations: 39.83 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.809e-05/0.3914, allocations: 15.98 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.3915, allocations: 0 / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.472e-05/0.3915, allocations: 7.938 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.3916, allocations: 15.97 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.3916, allocations: 8 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.3917, allocations: 43.95 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.3917, allocations: 0 / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.3918, allocations: 15.88 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.3919, allocations: 40.16 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3919, allocations: 3.938 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3919, allocations: 0 / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3919, allocations: 4 kB / 1.347 GB, free: 14.28 MB / 1.045 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.0004304/0.3924, allocations: 254.3 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3924, allocations: 8.031 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.371e-05/0.3924, allocations: 8.188 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.3925, allocations: 38.69 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.3926, allocations: 12.92 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/0.3927, allocations: 106.5 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3927, allocations: 384 / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.3928, allocations: 4.375 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3929, allocations: 75.7 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3929, allocations: 0 / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3929, allocations: 3.984 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3929, allocations: 0 / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.386e-05/0.393, allocations: 23.92 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.3932, allocations: 128.8 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3933, allocations: 34.64 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.3934, allocations: 28.97 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.3934, allocations: 0 / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.3934, allocations: 34.5 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3934, allocations: 0 / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.002236/0.3956, allocations: 436.9 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.3957, allocations: 55.41 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.312e-05/0.3957, allocations: 89.86 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3958, allocations: 25.7 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.3958, allocations: 80.14 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.3958, allocations: 23.81 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.3959, allocations: 25.7 kB / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.396, allocations: 318.8 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.265e-05/0.3961, allocations: 24.42 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-05/0.3961, allocations: 20 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3963, allocations: 64.91 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3963, allocations: 4 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001602/0.3964, allocations: 93.62 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3964, allocations: 5.875 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3964, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3965, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.3966, allocations: 15.94 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3966, allocations: 8 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.3967, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3967, allocations: 7.922 kB / 1.349 GB, free: 12.04 MB / 1.045 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 9.941e-05/0.3968, allocations: 113.8 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.3968, allocations: 3.938 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.3969, allocations: 19.91 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3969, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3969, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3969, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.397, allocations: 146.1 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3971, allocations: 7.938 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.3972, allocations: 15.94 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3972, allocations: 0 / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3972, allocations: 4 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3972, allocations: 0 / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3972, allocations: 0 / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.3975, allocations: 153 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.3975, allocations: 3.938 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.3975, allocations: 0 / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.3976, allocations: 4.031 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.3976, allocations: 12.05 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.3977, allocations: 4 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.3977, allocations: 75.28 kB / 1.349 GB, free: 11.4 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3977, allocations: 4.094 kB / 1.349 GB, free: 11.4 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001989/0.3979, allocations: 11.94 kB / 1.349 GB, free: 11.39 MB / 1.045 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.0005748/0.3985, allocations: 0.6867 MB / 1.35 GB, free: 10.67 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.3986, allocations: 63.89 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3986, allocations: 0 / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.628e-05/0.3987, allocations: 31.98 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.399, allocations: 8.062 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.4005, allocations: 1.267 MB / 1.351 GB, free: 9.219 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.673e-05/0.4006, allocations: 64.42 kB / 1.352 GB, free: 9.137 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.501e-05/0.4007, allocations: 15.92 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.4007, allocations: 7.812 kB / 1.352 GB, free: 9.113 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.4007, allocations: 4 kB / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.4244, allocations: 1.845 MB / 1.353 GB, free: 7.461 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.94, allocations: 11.3 kB / 1.353 GB, free: 7.453 MB / 1.045 GB " [Timeout remaining time 288] (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 --stepSize=0.0008 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.108180460054427]