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.0017/0.0017, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.002072/0.002072, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.554/1.554, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.971/2.971, allocations: 0.49 GB / 0.7923 GB, free: 1.398 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_12_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.002219/0.002219, allocations: 75.88 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.081, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002073/1.083, allocations: 1.28 MB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004401/1.083, allocations: 238.6 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/1.084, allocations: 0 / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/1.084, allocations: 7.938 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/1.084, allocations: 0 / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/1.084, allocations: 45.23 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.468e-05/1.084, allocations: 12.62 kB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/1.084, allocations: 10.14 kB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.036e-05/1.084, allocations: 9.75 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.014e-05/1.084, allocations: 5.953 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/1.084, allocations: 0 / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/1.084, allocations: 45.61 kB / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/1.084, allocations: 13.75 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/1.084, allocations: 10.67 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/1.084, allocations: 39.84 kB / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.084, allocations: 0 / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/1.084, allocations: 0 / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.121e-05/1.084, allocations: 0 / 1.323 GB, free: 23.63 MB / 1.061 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.0003408/1.085, allocations: 340.7 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.085, allocations: 14.36 kB / 1.323 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.478e-05/1.085, allocations: 4.188 kB / 1.323 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.156e-05/1.085, allocations: 36.72 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/1.085, allocations: 13.52 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.528e-05/1.085, allocations: 160.4 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/1.085, allocations: 6.875 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/1.085, allocations: 11 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/1.085, allocations: 45.11 kB / 1.324 GB, free: 22.97 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.085, allocations: 0 / 1.324 GB, free: 22.97 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/1.085, allocations: 0 / 1.324 GB, free: 22.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/1.085, allocations: 4 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.765e-05/1.085, allocations: 15.91 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/1.085, allocations: 158 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/1.085, allocations: 41.69 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/1.085, allocations: 23 kB / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/1.085, allocations: 0 / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/1.086, allocations: 41.31 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/1.086, allocations: 0 / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001965/1.087, allocations: 0.4898 MB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/1.087, allocations: 61.78 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.781e-05/1.088, allocations: 89.86 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/1.088, allocations: 25.7 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.415e-05/1.088, allocations: 87.56 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/1.088, allocations: 24.97 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/1.088, allocations: 26.19 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.592e-05/1.088, allocations: 310.8 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/1.088, allocations: 27.72 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/1.088, allocations: 28.98 kB / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.697e-05/1.088, allocations: 54.3 kB / 1.325 GB, free: 21.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/1.088, allocations: 0 / 1.325 GB, free: 21.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001285/1.088, allocations: 102.7 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.088, allocations: 5.656 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.088, allocations: 7.375 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.088, allocations: 0 / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/1.088, allocations: 14.81 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/1.088, allocations: 0 / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/1.088, allocations: 8 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/1.088, allocations: 2.844 kB / 1.325 GB, free: 21.57 MB / 1.061 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 5.842e-05/1.088, allocations: 114.2 kB / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/1.088, allocations: 7.938 kB / 1.325 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/1.088, allocations: 15.91 kB / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.088, allocations: 2.938 kB / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.088, allocations: 0 / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.088, allocations: 0 / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/1.088, allocations: 174.9 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.088, allocations: 3.938 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/1.089, allocations: 23.11 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.089, allocations: 0 / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/1.089, allocations: 2.906 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.089, allocations: 0 / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.089, allocations: 0 / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/1.089, allocations: 153.6 kB / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/1.089, allocations: 81.05 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/1.089, allocations: 3.938 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/1.089, allocations: 14.19 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/1.089, allocations: 3.562 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/1.089, allocations: 3 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.41e-05/1.089, allocations: 75.28 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.089, allocations: 0 / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001905/1.089, allocations: 11.12 kB / 1.326 GB, free: 20.92 MB / 1.061 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.0003859/1.09, allocations: 0.691 MB / 1.327 GB, free: 20.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001573/1.09, allocations: 56.36 kB / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.09, allocations: 0 / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.754e-05/1.09, allocations: 38.38 kB / 1.327 GB, free: 20.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/1.09, allocations: 2.844 kB / 1.327 GB, free: 20.24 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/1.091, allocations: 1.271 MB / 1.328 GB, free: 19.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.855e-05/1.091, allocations: 0.6843 MB / 1.329 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.539e-05/1.091, allocations: 10.81 kB / 1.329 GB, free: 18.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/1.091, allocations: 17.64 kB / 1.329 GB, free: 18.35 MB / 1.061 GB Notification: Performance of SimCode: time 2.6e-07/1.091, allocations: 0 / 1.329 GB, free: 18.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/1.114, allocations: 1.709 MB / 1.33 GB, free: 18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.537/9.65, allocations: 8.188 kB / 1.33 GB, free: 17.99 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.561002903035842]