Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.001875/0.001875, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002678/0.002678, allocations: 215.1 kB / 22.25 MB, free: 5.242 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.891/2.891, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.002158/0.002158, allocations: 65.44 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3948, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002694/0.3975, allocations: 1.292 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3987, allocations: 0.5506 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.3987, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.3987, allocations: 3.984 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.3988, allocations: 3.938 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.3994, allocations: 150 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.499e-05/0.3994, allocations: 19.92 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.3995, allocations: 3.984 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.667e-05/0.3995, allocations: 8 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.3996, allocations: 7.938 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3996, allocations: 4 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.4001, allocations: 267.5 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.4001, allocations: 0 / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.4001, allocations: 7.938 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.4004, allocations: 148.8 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4004, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.454e-06/0.4004, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.4004, allocations: 3.984 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005167/0.4009, allocations: 289.9 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.401, allocations: 12.03 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.401, allocations: 30.75 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.401, allocations: 0.9375 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.4012, allocations: 110.5 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4012, allocations: 384 / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.4012, allocations: 4.375 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.4014, allocations: 71.89 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4014, allocations: 3.938 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.4014, allocations: 0 / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.4014, allocations: 4 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.4015, allocations: 8 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.4017, allocations: 128.8 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.4019, allocations: 42.56 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.4019, allocations: 16.8 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.4019, allocations: 4 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.402, allocations: 34.66 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.402, allocations: 0 / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0006681/0.4026, allocations: 241.4 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.4027, allocations: 51.41 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.4028, allocations: 97.89 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.4028, allocations: 29.7 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.4029, allocations: 88.06 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.4029, allocations: 27.73 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.4029, allocations: 21.72 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4031, allocations: 318.8 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/0.4031, allocations: 12 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.4032, allocations: 8 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.11e-05/0.4032, allocations: 44.77 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4032, allocations: 0 / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001077/0.4033, allocations: 65.62 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4033, allocations: 4 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4034, allocations: 0 / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4034, allocations: 0 / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.354e-05/0.4034, allocations: 16 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.4034, allocations: 0 / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.4034, allocations: 0 / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.4035, allocations: 8.062 kB / 1.287 GB, free: 8.027 MB / 0.9825 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 (7): * Single equations (assignments): 7 * 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.0001078/0.4036, allocations: 117.8 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.4036, allocations: 11.89 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.4037, allocations: 69.73 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.4037, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4037, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4037, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.4041, allocations: 286.4 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4041, allocations: 0 / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.4042, allocations: 8 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4042, allocations: 4.031 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4042, allocations: 4 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.4042, allocations: 3.984 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4042, allocations: 0 / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.4044, allocations: 180.3 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.4045, allocations: 15.97 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.4045, allocations: 0 / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.4046, allocations: 0 / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.4046, allocations: 4 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.4046, allocations: 0 / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.521e-05/0.4047, allocations: 91.33 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4047, allocations: 3.938 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000264/0.4049, allocations: 23.88 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (6): * Single equations (assignments): 6 * 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.0006698/0.4056, allocations: 0.7368 MB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.4057, allocations: 32.28 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4057, allocations: 4 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.728e-05/0.4057, allocations: 19.88 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.406, allocations: 8 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.4074, allocations: 1.323 MB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.336e-05/0.4074, allocations: 63.34 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.108e-05/0.4075, allocations: 8.062 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.4075, allocations: 15.44 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4075, allocations: 0 / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.4384, allocations: 2.079 MB / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.13, allocations: 14.61 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable m_flow in file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv. Warning: Get data of variable m_flow from file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.109800279140472]