Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001379/0.001379, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.001492/0.001492, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.183/3.183, allocations: 0.49 GB / 0.7916 GB, free: 33.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",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.002201/0.002201, allocations: 68.89 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4067, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002587/0.4092, allocations: 1.265 MB / 1.322 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005728/0.4098, allocations: 239.7 kB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.4098, allocations: 0 / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.4099, allocations: 0 / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.4099, allocations: 7.922 kB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.4102, allocations: 39.77 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.4103, allocations: 23.86 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.4104, allocations: 4 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.305e-05/0.4104, allocations: 4 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.4105, allocations: 11.98 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.4105, allocations: 4 kB / 1.322 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.4106, allocations: 47.95 kB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.4106, allocations: 11.92 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.4106, allocations: 7.984 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.4108, allocations: 44.11 kB / 1.322 GB, free: 1.613 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4108, allocations: 0 / 1.322 GB, free: 1.613 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4108, allocations: 0 / 1.322 GB, free: 1.613 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.4108, allocations: 0 / 1.322 GB, free: 1.613 MB / 1.014 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.0004613/0.4113, allocations: 335.5 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4113, allocations: 15.98 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.4114, allocations: 38.75 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.4115, allocations: 16.88 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.4116, allocations: 164.3 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4117, allocations: 384 / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.4117, allocations: 4.375 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.4118, allocations: 54.17 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4118, allocations: 3.938 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.4118, allocations: 4 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4118, allocations: 0 / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.4119, allocations: 12 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.4121, allocations: 153.7 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.4122, allocations: 42.62 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.4122, allocations: 16.98 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.4122, allocations: 0 / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.4123, allocations: 46.48 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.4123, allocations: 4 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.002214/0.4145, allocations: 494.1 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.4146, allocations: 55.41 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.618e-05/0.4146, allocations: 89.86 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.4146, allocations: 29.64 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.4147, allocations: 80.14 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.4147, allocations: 35.72 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.4148, allocations: 17.72 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4149, allocations: 318.8 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.111e-05/0.415, allocations: 24 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/0.415, allocations: 27.92 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.4151, allocations: 60.8 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4151, allocations: 0 / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000162/0.4153, allocations: 101.5 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4153, allocations: 4 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4153, allocations: 3.984 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4153, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.4155, allocations: 12 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.4155, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.4156, allocations: 8 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.4156, allocations: 448 / 1.325 GB, free: 15.11 MB / 1.029 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.0001187/0.4157, allocations: 113.8 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.4157, allocations: 3.938 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/0.4158, allocations: 15.95 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4158, allocations: 4 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4158, allocations: 4 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4158, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.4159, allocations: 171.5 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4159, allocations: 4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.4161, allocations: 19.88 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4161, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.4161, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.4161, allocations: 4.281 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4161, allocations: 3.984 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.4164, allocations: 157 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.4164, allocations: 85.03 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.4164, allocations: 8.094 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4165, allocations: 0 / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.4166, allocations: 11.92 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.4166, allocations: 4 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.4166, allocations: 79.22 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4166, allocations: 0 / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002117/0.4168, allocations: 12 kB / 1.325 GB, free: 14.32 MB / 1.029 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.0005874/0.4174, allocations: 0.6828 MB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001627/0.4176, allocations: 59.91 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4176, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.4176, allocations: 24 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.4179, allocations: 13.61 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.4194, allocations: 1.279 MB / 1.327 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4198, allocations: 0.6805 MB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.98e-05/0.4198, allocations: 15.98 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.4199, allocations: 11.44 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4199, allocations: 0 / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.4467, allocations: 1.656 MB / 1.33 GB, free: 9.961 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.479, allocations: 21.69 kB / 1.33 GB, free: 9.945 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-09 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.278595492010936]