Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001338/0.001338, allocations: 105 kB / 16.45 MB, free: 6.449 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.001668/0.001668, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.903/2.903, allocations: 476.7 MB / 0.7672 GB, free: 5.227 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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_11_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_11_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.002041/0.002041, allocations: 67.91 kB / 1.112 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125/1.127, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002978/1.13, allocations: 1.313 MB / 1.28 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00123/1.131, allocations: 0.6166 MB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/1.131, allocations: 0 / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/1.131, allocations: 4 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/1.131, allocations: 3.938 kB / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/1.132, allocations: 147.4 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.344e-05/1.132, allocations: 19.86 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/1.132, allocations: 8 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/1.132, allocations: 8 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/1.132, allocations: 11.92 kB / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/1.132, allocations: 0 / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000557/1.133, allocations: 347.3 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/1.133, allocations: 4 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/1.133, allocations: 7.938 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/1.133, allocations: 149.4 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.133, allocations: 3.938 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.155e-06/1.133, allocations: 0 / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.664e-06/1.133, allocations: 4 kB / 1.281 GB, free: 10.78 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.0005997/1.134, allocations: 359.1 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/1.134, allocations: 12.03 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.673e-05/1.134, allocations: 34.73 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/1.134, allocations: 4.938 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/1.134, allocations: 172.3 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/1.134, allocations: 384 / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/1.134, allocations: 4.312 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/1.134, allocations: 42.25 kB / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.134, allocations: 7.938 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/1.134, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.134, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.489e-05/1.134, allocations: 11.98 kB / 1.281 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/1.135, allocations: 161.7 kB / 1.282 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/1.135, allocations: 42.5 kB / 1.282 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/1.135, allocations: 16.86 kB / 1.282 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/1.135, allocations: 4 kB / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/1.135, allocations: 34.56 kB / 1.282 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/1.135, allocations: 0 / 1.282 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007172/1.136, allocations: 310.6 kB / 1.282 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/1.136, allocations: 51.41 kB / 1.282 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.309e-05/1.136, allocations: 101.8 kB / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/1.136, allocations: 25.7 kB / 1.282 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/1.136, allocations: 84.14 kB / 1.282 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/1.136, allocations: 27.78 kB / 1.282 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/1.136, allocations: 21.7 kB / 1.282 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.136, allocations: 314.8 kB / 1.283 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/1.136, allocations: 11.98 kB / 1.283 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/1.136, allocations: 19.88 kB / 1.283 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/1.136, allocations: 33 kB / 1.283 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/1.136, allocations: 0 / 1.283 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001102/1.136, allocations: 73.62 kB / 1.283 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.136, allocations: 5.875 kB / 1.283 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.136, allocations: 0 / 1.283 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.136, allocations: 0 / 1.283 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/1.136, allocations: 15.98 kB / 1.283 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/1.136, allocations: 3.938 kB / 1.283 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/1.136, allocations: 0 / 1.283 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/1.136, allocations: 0 / 1.283 GB, free: 8.531 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 9.717e-05/1.137, allocations: 116.2 kB / 1.283 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/1.137, allocations: 11.89 kB / 1.283 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/1.137, allocations: 77.58 kB / 1.283 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/1.137, allocations: 0 / 1.283 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/1.137, allocations: 0 / 1.283 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/1.137, allocations: 0 / 1.283 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/1.137, allocations: 315.5 kB / 1.283 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.137, allocations: 0 / 1.283 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.345e-05/1.137, allocations: 15.98 kB / 1.283 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/1.137, allocations: 0 / 1.283 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/1.137, allocations: 8.031 kB / 1.283 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.137, allocations: 7.938 kB / 1.283 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.137, allocations: 0 / 1.283 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/1.137, allocations: 176.3 kB / 1.283 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/1.137, allocations: 89.08 kB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/1.138, allocations: 0 / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/1.138, allocations: 0 / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/1.138, allocations: 12.05 kB / 1.284 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/1.138, allocations: 8 kB / 1.284 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.58e-05/1.138, allocations: 75.28 kB / 1.284 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/1.138, allocations: 0 / 1.284 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002366/1.138, allocations: 19.94 kB / 1.284 GB, free: 7.5 MB / 0.9825 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.0006521/1.139, allocations: 0.741 MB / 1.284 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000139/1.139, allocations: 35.86 kB / 1.284 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.139, allocations: 0 / 1.284 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.931e-05/1.139, allocations: 12 kB / 1.284 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/1.139, allocations: 10.23 kB / 1.284 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/1.14, allocations: 1.327 MB / 1.286 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/1.141, allocations: 0.6846 MB / 1.286 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.971e-05/1.141, allocations: 11.94 kB / 1.286 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/1.141, allocations: 19.42 kB / 1.286 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/1.141, allocations: 0 / 1.286 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/1.167, allocations: 1.653 MB / 1.288 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.981/10.15, allocations: 4.812 kB / 1.288 GB, free: 3.047 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv. Warning: Get data of variable dp from file Buildings_11_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: 16.59863123507239]