Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001883/0.001883, allocations: 113 kB / 18.94 MB, free: 2.934 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.002761/0.002761, allocations: 209.4 kB / 22.25 MB, free: 5.086 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 8.027 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.312/3.312, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_12_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_12_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.002075/0.002075, allocations: 75.5 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3877, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002589/0.3903, allocations: 1.295 MB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.3915, allocations: 0.6188 MB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.3915, allocations: 0 / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.3916, allocations: 3.984 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.3916, allocations: 3.938 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.3923, allocations: 150.9 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.135e-05/0.3924, allocations: 23.77 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.3924, allocations: 7.984 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.3925, allocations: 7.984 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.3925, allocations: 7.938 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.3925, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.3931, allocations: 351.3 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.3931, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.3931, allocations: 11.94 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.3934, allocations: 143.9 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3934, allocations: 0 / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3934, allocations: 3.938 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3934, allocations: 3.938 kB / 1.328 GB, free: 15.36 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005375/0.394, allocations: 282 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.394, allocations: 12.03 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.709e-05/0.3941, allocations: 30.75 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.3941, allocations: 0.9375 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.3943, allocations: 122.5 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3943, allocations: 4.375 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.3943, allocations: 4.375 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3944, allocations: 38.25 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3944, allocations: 3.938 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3945, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.3945, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.3945, allocations: 7.938 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.3947, allocations: 136.7 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.3949, allocations: 46.61 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.395, allocations: 16.94 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.395, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.395, allocations: 38.56 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.395, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000692/0.3957, allocations: 229.1 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3958, allocations: 59.41 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3959, allocations: 97.84 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.3959, allocations: 33.64 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.396, allocations: 80.14 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.396, allocations: 19.8 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.396, allocations: 25.7 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3962, allocations: 310.8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.3962, allocations: 12 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.3962, allocations: 15.98 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.367e-05/0.3963, allocations: 36.94 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.3963, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001114/0.3964, allocations: 78.06 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3964, allocations: 4 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3964, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3964, allocations: 4 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.3965, allocations: 8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3965, allocations: 3.984 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.3965, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3965, allocations: 8 kB / 1.33 GB, free: 13.4 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 (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 9.144e-05/0.3966, allocations: 110.4 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.3966, allocations: 11.89 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.3968, allocations: 73.67 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3968, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3968, allocations: 3.984 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3968, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.3972, allocations: 294.4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3972, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.3972, allocations: 8 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3972, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.3973, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3973, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3973, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.3975, allocations: 192.5 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.3975, allocations: 3.984 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3975, allocations: 7.969 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.3976, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.3976, allocations: 4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3976, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.3976, allocations: 83.27 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3976, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002428/0.3979, allocations: 19.94 kB / 1.331 GB, free: 12.5 MB / 1.029 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.0006396/0.3985, allocations: 0.7367 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.3987, allocations: 39.86 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3987, allocations: 3.938 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.3987, allocations: 15.94 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.3989, allocations: 16.44 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.4003, allocations: 1.319 MB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.4006, allocations: 0.6846 MB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.4007, allocations: 4.297 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.4007, allocations: 11.44 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4007, allocations: 0 / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.431, allocations: 1.712 MB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.2, allocations: 9.969 kB / 1.335 GB, free: 7.977 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv. Warning: Get data of variable m_flow from file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.262419377999322]