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.002028/0.002028, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002398/0.002398, allocations: 218.8 kB / 22.25 MB, free: 5.105 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 / 256 MB, free: 7.805 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.241/3.241, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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.002136/0.002136, allocations: 72.17 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3433, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002342/0.3457, allocations: 1.277 MB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004926/0.3462, allocations: 219.3 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.3462, allocations: 0 / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.3462, allocations: 0 / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.782e-05/0.3462, allocations: 11.97 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.3465, allocations: 35.78 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.3466, allocations: 15.98 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.3466, allocations: 4 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.93e-05/0.3466, allocations: 4 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.3467, allocations: 15.92 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3467, allocations: 11.98 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3468, allocations: 43.95 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.3468, allocations: 3.938 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.3469, allocations: 8 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.347, allocations: 48.03 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.347, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.347, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.347, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 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.0003665/0.3474, allocations: 254.3 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3474, allocations: 12.03 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.3474, allocations: 38.75 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.3476, allocations: 12.88 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.991e-05/0.3477, allocations: 110.5 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.3477, allocations: 384 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3477, allocations: 384 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3478, allocations: 79.95 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3478, allocations: 3.938 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3478, allocations: 3.984 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3478, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.795e-05/0.3479, allocations: 19.94 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.3481, allocations: 124.8 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/0.3481, allocations: 38.64 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.3482, allocations: 24.97 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.3482, allocations: 0 / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3482, allocations: 34.56 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3482, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.002288/0.3505, allocations: 432.9 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.3506, allocations: 51.41 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.995e-05/0.3506, allocations: 93.8 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3506, allocations: 25.7 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.3507, allocations: 84.14 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.3507, allocations: 23.8 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.3508, allocations: 29.7 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3509, allocations: 314.8 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.351, allocations: 23.98 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.062e-05/0.351, allocations: 20 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3511, allocations: 68.91 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3511, allocations: 0 / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001577/0.3513, allocations: 97.58 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3513, allocations: 4 kB / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3513, allocations: 0 / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3513, allocations: 0 / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.3515, allocations: 15.94 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3515, allocations: 4 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.393e-05/0.3515, allocations: 4 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.3516, allocations: 3.984 kB / 1.329 GB, free: 13.55 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 9.014e-05/0.3516, allocations: 114.4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.3517, allocations: 3.938 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.719e-05/0.3517, allocations: 15.91 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3517, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3517, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3517, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.3519, allocations: 138.6 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3519, allocations: 4.438 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.352, allocations: 15.94 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.352, allocations: 3.938 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.352, allocations: 12 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3521, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3521, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.3523, allocations: 149.1 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.3523, allocations: 11.92 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3523, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.3525, allocations: 7.938 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.3525, allocations: 12.05 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3525, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.3525, allocations: 75.28 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3525, allocations: 96 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002003/0.3527, allocations: 15.94 kB / 1.33 GB, free: 12.9 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.0005647/0.3533, allocations: 0.6788 MB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.3535, allocations: 59.91 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3535, allocations: 0 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.586e-05/0.3535, allocations: 27.98 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.3537, allocations: 15.2 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3552, allocations: 1.272 MB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.075e-05/0.3553, allocations: 63.22 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.139e-05/0.3554, allocations: 11.98 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.3554, allocations: 11.81 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3554, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.3846, allocations: 2.195 MB / 1.334 GB, free: 8.625 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.5, allocations: 16.34 kB / 1.334 GB, free: 8.613 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.36666805698769]