Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.00145/0.00145, 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.001662/0.001662, allocations: 219.2 kB / 22.24 MB, free: 5.102 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.816 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.04/3.04, allocations: 0.49 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] 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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.001929/0.001929, allocations: 71.2 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3198, allocations: 176.1 MB / 1.326 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002834/0.3226, allocations: 1.304 MB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3237, allocations: 0.5448 MB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.3238, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.3238, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.3238, allocations: 11.92 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.3244, allocations: 142.3 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.284e-05/0.3245, allocations: 15.94 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.3246, allocations: 19.97 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.826e-05/0.3246, allocations: 4 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.3246, allocations: 11.94 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3247, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004526/0.3251, allocations: 283.5 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.3251, allocations: 7.938 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.3251, allocations: 7.938 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.3254, allocations: 135.9 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3254, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3254, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3254, allocations: 0 / 1.328 GB, free: 15.09 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.0004279/0.3258, allocations: 291.5 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3259, allocations: 12.03 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.3259, allocations: 34.69 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.3259, allocations: 0.9375 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3261, allocations: 122.5 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.3261, allocations: 384 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.3261, allocations: 4.375 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3262, allocations: 63.95 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3262, allocations: 3.938 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3262, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3262, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.678e-05/0.3263, allocations: 8 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.3264, allocations: 132.8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.3266, allocations: 42.5 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.3267, allocations: 20.8 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.3267, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3267, allocations: 34.56 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3267, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0005891/0.3273, allocations: 233.2 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.3273, allocations: 51.41 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.336e-05/0.3274, allocations: 105.8 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3274, allocations: 29.64 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.3275, allocations: 80.14 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.3275, allocations: 27.78 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.3275, allocations: 17.72 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3277, allocations: 318.8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/0.3277, allocations: 8.062 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.3277, allocations: 16 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.3278, allocations: 32.84 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3278, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001105/0.3279, allocations: 73.62 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3279, allocations: 5.719 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3279, allocations: 3.984 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.328, allocations: 3.938 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.963e-05/0.328, allocations: 12 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.328, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.328, allocations: 0.5156 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.328, allocations: 4 kB / 1.33 GB, free: 13.1 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 7.916e-05/0.3281, allocations: 110.4 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.3281, allocations: 11.89 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.3283, allocations: 77.67 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3283, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3283, allocations: 3.984 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3283, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.3286, allocations: 282.5 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3286, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.3287, allocations: 15.94 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3287, allocations: 7.938 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.3287, allocations: 0 / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3287, allocations: 0 / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3287, allocations: 0 / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.3289, allocations: 184.5 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.3289, allocations: 12.03 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3289, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.329, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.329, allocations: 11.94 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.329, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.3291, allocations: 83.2 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3291, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002395/0.3293, allocations: 19.94 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0005495/0.3299, allocations: 0.7406 MB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.33, allocations: 31.94 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.33, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.33, allocations: 15.92 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.3302, allocations: 9.219 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3315, allocations: 1.323 MB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.829e-05/0.3316, allocations: 63.34 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.3316, allocations: 4 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.3316, allocations: 15.53 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3316, allocations: 3.938 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.3622, allocations: 2.142 MB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11, allocations: 8.703 kB / 1.335 GB, free: 7.879 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable dp in file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv. Warning: Get data of variable dp from file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.311295794992475]