Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0013/0.0013, allocations: 104 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.001372/0.001372, 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.394/1.394, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.166/3.166, allocations: 0.505 GB / 0.8066 GB, free: 23.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001931/0.001931, allocations: 72.45 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3129, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00239/0.3153, allocations: 1.308 MB / 1.349 GB, free: 8.684 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3165, allocations: 0.6192 MB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.3165, allocations: 0 / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.3166, allocations: 3.938 kB / 1.35 GB, free: 8.059 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.776e-05/0.3166, allocations: 3.984 kB / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.3172, allocations: 143.4 kB / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.078e-05/0.3172, allocations: 23.92 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.3173, allocations: 0 / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.3173, allocations: 11.88 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.3174, allocations: 11.97 kB / 1.35 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.3174, allocations: 0 / 1.35 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.3179, allocations: 343.3 kB / 1.35 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.3179, allocations: 7.984 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.3179, allocations: 7.938 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.3182, allocations: 143.8 kB / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3182, allocations: 4 kB / 1.35 GB, free: 7.371 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3182, allocations: 0 / 1.35 GB, free: 7.371 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3182, allocations: 0 / 1.35 GB, free: 7.371 MB / 1.045 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.0004777/0.3187, allocations: 363 kB / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3187, allocations: 15.98 kB / 1.351 GB, free: 6.949 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.3187, allocations: 42.67 kB / 1.351 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.3188, allocations: 0.9375 kB / 1.351 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.319, allocations: 172.3 kB / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.319, allocations: 384 / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.319, allocations: 384 / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.3191, allocations: 46.25 kB / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3191, allocations: 3.938 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3191, allocations: 0 / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3191, allocations: 0 / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.33e-05/0.3192, allocations: 15.98 kB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.3194, allocations: 153.7 kB / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3196, allocations: 42.5 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.3196, allocations: 20.86 kB / 1.351 GB, free: 6.348 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.3196, allocations: 3.938 kB / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3197, allocations: 34.56 kB / 1.351 GB, free: 6.301 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 3.156e-06/0.3197, allocations: 3.984 kB / 1.351 GB, free: 6.297 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0006228/0.3203, allocations: 314.3 kB / 1.351 GB, free: 5.938 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.3204, allocations: 51.41 kB / 1.352 GB, free: 5.875 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.3204, allocations: 101.9 kB / 1.352 GB, free: 5.766 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3205, allocations: 29.64 kB / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.3205, allocations: 80.14 kB / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.3205, allocations: 27.78 kB / 1.352 GB, free: 5.621 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.3206, allocations: 17.72 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3207, allocations: 314.8 kB / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.3207, allocations: 11.98 kB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.3207, allocations: 12 kB / 1.352 GB, free: 5.258 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.3208, allocations: 32.86 kB / 1.352 GB, free: 5.223 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.3208, allocations: 0 / 1.352 GB, free: 5.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001103/0.3209, allocations: 77.56 kB / 1.352 GB, free: 5.141 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3209, allocations: 4 kB / 1.352 GB, free: 5.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3209, allocations: 0 / 1.352 GB, free: 5.137 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3209, allocations: 3.938 kB / 1.352 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.321, allocations: 19.92 kB / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.321, allocations: 0 / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.321, allocations: 0 / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.321, allocations: 0 / 1.352 GB, free: 5.113 MB / 1.045 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 8.373e-05/0.3211, allocations: 117.8 kB / 1.352 GB, free: 4.988 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.3211, allocations: 3.938 kB / 1.352 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.3213, allocations: 69.77 kB / 1.352 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3213, allocations: 11.94 kB / 1.352 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3213, allocations: 0 / 1.352 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3213, allocations: 0 / 1.352 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.3216, allocations: 311.4 kB / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3216, allocations: 0 / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.3217, allocations: 23.95 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3217, allocations: 0 / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3217, allocations: 3.938 kB / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.3217, allocations: 4 kB / 1.353 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3217, allocations: 0 / 1.353 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.3219, allocations: 176.3 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.322, allocations: 85.12 kB / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.322, allocations: 4.062 kB / 1.353 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.322, allocations: 0 / 1.353 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.3221, allocations: 11.98 kB / 1.353 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3221, allocations: 7.938 kB / 1.353 GB, free: 4.18 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.3221, allocations: 75.28 kB / 1.353 GB, free: 4.105 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3221, allocations: 0 / 1.353 GB, free: 4.105 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002447/0.3223, allocations: 19.94 kB / 1.353 GB, free: 4.086 MB / 1.045 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.0006049/0.323, allocations: 0.7405 MB / 1.354 GB, free: 3.316 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.3231, allocations: 35.92 kB / 1.354 GB, free: 3.281 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3231, allocations: 0 / 1.354 GB, free: 3.281 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.3231, allocations: 12 kB / 1.354 GB, free: 3.27 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3233, allocations: 8 kB / 1.354 GB, free: 3.262 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.3247, allocations: 1.328 MB / 1.355 GB, free: 1.852 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.325, allocations: 0.6807 MB / 1.356 GB, free: 1.145 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.3251, allocations: 12.12 kB / 1.356 GB, free: 1.133 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.3251, allocations: 15.42 kB / 1.356 GB, free: 1.117 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.3251, allocations: 96 / 1.356 GB, free: 1.117 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.3505, allocations: 1.649 MB / 1.357 GB, free: 15.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.3, allocations: 18.92 kB / 1.358 GB, free: 15.64 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv. Warning: Get data of variable dp from file Buildings_latest_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: 14.736020065844059]