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.001757/0.001757, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002438/0.002438, allocations: 220 kB / 22.24 MB, free: 5.109 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.812 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.331/3.331, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 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.002088/0.002088, allocations: 61.38 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4267, allocations: 176.1 MB / 1.325 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002581/0.4293, allocations: 1.274 MB / 1.326 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005663/0.4299, allocations: 211.3 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.4299, allocations: 4 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.4299, allocations: 0 / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.4299, allocations: 11.92 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.4303, allocations: 39.83 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.4303, allocations: 11.98 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.4304, allocations: 4 kB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.913e-05/0.4304, allocations: 15.92 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.4305, allocations: 3.984 kB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.4305, allocations: 7.938 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.4306, allocations: 47.95 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.4306, allocations: 0 / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.4306, allocations: 19.92 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.4308, allocations: 36.17 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4308, allocations: 7.938 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4308, allocations: 0 / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4308, allocations: 0 / 1.327 GB, free: 0.6523 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.0004095/0.4312, allocations: 254.3 kB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4312, allocations: 11.97 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.4313, allocations: 34.75 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.4314, allocations: 12.88 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.477e-05/0.4315, allocations: 118.5 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.4315, allocations: 384 / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.4315, allocations: 4.375 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.4317, allocations: 75.69 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4317, allocations: 0 / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.4317, allocations: 4 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4317, allocations: 3.938 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.835e-05/0.4317, allocations: 12 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.4319, allocations: 128.8 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.908e-05/0.432, allocations: 34.64 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.4321, allocations: 24.97 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.4321, allocations: 7.984 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.4321, allocations: 38.5 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.4321, allocations: 0 / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.002/0.4341, allocations: 429.2 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.4342, allocations: 51.41 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/0.4342, allocations: 89.86 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.4342, allocations: 29.7 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.4343, allocations: 80.14 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.4343, allocations: 27.8 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.4344, allocations: 21.7 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4345, allocations: 314.8 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.4346, allocations: 23.98 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.4346, allocations: 20.12 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.4348, allocations: 76.91 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4348, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001565/0.4349, allocations: 97.58 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4349, allocations: 4 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4349, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4349, allocations: 3.938 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.4351, allocations: 12 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4351, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.4352, allocations: 11.92 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.4352, allocations: 0 / 1.329 GB, free: 14.41 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.003e-05/0.4353, allocations: 118.4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.4353, allocations: 3.938 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.4353, allocations: 11.91 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4353, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4353, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4353, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.4355, allocations: 142.6 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4355, allocations: 3.938 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.4356, allocations: 15.94 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4356, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.4356, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4356, allocations: 3.984 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4356, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.4359, allocations: 145.1 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.4359, allocations: 11.97 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.4359, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.436, allocations: 4 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.436, allocations: 7.984 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.436, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.998e-05/0.4361, allocations: 75.28 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4361, allocations: 64 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001926/0.4363, allocations: 20.09 kB / 1.329 GB, free: 13.77 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.0005649/0.4368, allocations: 0.6905 MB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.437, allocations: 55.92 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.437, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.572e-05/0.4371, allocations: 31.98 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.4373, allocations: 6.031 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.4387, allocations: 1.271 MB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.135e-05/0.4388, allocations: 71.2 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.789e-05/0.4389, allocations: 11.94 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.4389, allocations: 11.44 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.4389, allocations: 4.312 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.4704, allocations: 2.164 MB / 1.333 GB, free: 9.508 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.72, allocations: 10.86 kB / 1.333 GB, free: 9.504 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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] "Error: Could not read variable y in file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.csv. Warning: Get data of variable y from file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.933831168804318]