Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001399/0.001399, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001442/0.001442, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.42/1.42, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.151/3.151, allocations: 0.505 GB / 0.8066 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 177] 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_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.002137/0.002137, allocations: 67.72 kB / 1.172 GB, free: 17.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3419, allocations: 180.2 MB / 1.348 GB, free: 9.879 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002697/0.3446, allocations: 1.499 MB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3457, allocations: 0.6266 MB / 1.35 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.3457, allocations: 4 kB / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.3457, allocations: 7.922 kB / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.3458, allocations: 7.875 kB / 1.35 GB, free: 7.723 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.3464, allocations: 162 kB / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.411e-05/0.3465, allocations: 47.91 kB / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.3465, allocations: 4 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.204e-05/0.3466, allocations: 19.92 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.361e-05/0.3466, allocations: 35.84 kB / 1.35 GB, free: 7.461 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3466, allocations: 4 kB / 1.35 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.3472, allocations: 347.3 kB / 1.35 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.3472, allocations: 11.98 kB / 1.35 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.3472, allocations: 27.86 kB / 1.35 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.3475, allocations: 175.6 kB / 1.351 GB, free: 6.906 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3475, allocations: 0 / 1.351 GB, free: 6.906 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3475, allocations: 0 / 1.351 GB, free: 6.906 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3475, allocations: 0 / 1.351 GB, free: 6.906 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006545/0.3482, allocations: 410.9 kB / 1.351 GB, free: 6.453 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3482, allocations: 11.98 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.3483, allocations: 38.75 kB / 1.351 GB, free: 6.395 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.3483, allocations: 4.938 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3484, allocations: 172.3 kB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.3485, allocations: 4.375 kB / 1.351 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.3485, allocations: 8.375 kB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.3487, allocations: 74.22 kB / 1.351 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3488, allocations: 7.938 kB / 1.351 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3488, allocations: 4 kB / 1.351 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3488, allocations: 0 / 1.351 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.349, allocations: 55.89 kB / 1.351 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.3496, allocations: 328.6 kB / 1.352 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.3499, allocations: 86.5 kB / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.35, allocations: 28.78 kB / 1.352 GB, free: 5.531 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3501, allocations: 7.938 kB / 1.352 GB, free: 5.523 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3501, allocations: 38.55 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.3501, allocations: 0 / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.001809/0.3519, allocations: 0.6463 MB / 1.353 GB, free: 4.738 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.352, allocations: 51.41 kB / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.3521, allocations: 105.8 kB / 1.353 GB, free: 4.562 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3521, allocations: 29.8 kB / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.3521, allocations: 96.02 kB / 1.353 GB, free: 4.43 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.3522, allocations: 35.66 kB / 1.353 GB, free: 4.395 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.3522, allocations: 29.7 kB / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3524, allocations: 322.8 kB / 1.353 GB, free: 4.035 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3525, allocations: 23.98 kB / 1.353 GB, free: 4.012 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.3527, allocations: 39.97 kB / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.3529, allocations: 79.02 kB / 1.353 GB, free: 3.895 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3529, allocations: 0 / 1.353 GB, free: 3.895 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003384/0.3533, allocations: 113.8 kB / 1.353 GB, free: 3.777 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3533, allocations: 8 kB / 1.353 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3533, allocations: 0 / 1.353 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3533, allocations: 0 / 1.353 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.3535, allocations: 27.98 kB / 1.353 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3535, allocations: 3.938 kB / 1.353 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.3536, allocations: 7.984 kB / 1.353 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3536, allocations: 4 kB / 1.353 GB, free: 3.727 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 (13): * Single equations (assignments): 13 * 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.0001004/0.3537, allocations: 121.8 kB / 1.354 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.3537, allocations: 3.953 kB / 1.354 GB, free: 3.594 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.3541, allocations: 133.5 kB / 1.354 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3541, allocations: 4 kB / 1.354 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.3541, allocations: 3.938 kB / 1.354 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3541, allocations: 0 / 1.354 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.3548, allocations: 382.4 kB / 1.354 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3548, allocations: 4 kB / 1.354 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.3549, allocations: 27.97 kB / 1.354 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3549, allocations: 3.938 kB / 1.354 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3549, allocations: 8 kB / 1.354 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3549, allocations: 4 kB / 1.354 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3549, allocations: 0 / 1.354 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/0.3555, allocations: 243.4 kB / 1.354 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.3555, allocations: 85.09 kB / 1.354 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.3556, allocations: 7.938 kB / 1.354 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3557, allocations: 15.98 kB / 1.354 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.3557, allocations: 4 kB / 1.354 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3557, allocations: 11.98 kB / 1.354 GB, free: 2.57 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.3558, allocations: 83.39 kB / 1.355 GB, free: 2.488 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3558, allocations: 0 / 1.355 GB, free: 2.488 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002873/0.3561, allocations: 39.88 kB / 1.355 GB, free: 2.449 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0009702/0.357, allocations: 0.8154 MB / 1.355 GB, free: 1.609 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003629/0.3574, allocations: 87.83 kB / 1.355 GB, free: 1.523 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3574, allocations: 0 / 1.355 GB, free: 1.523 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.3575, allocations: 40.52 kB / 1.356 GB, free: 1.484 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.3578, allocations: 9.422 kB / 1.356 GB, free: 1.477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.3601, allocations: 1.593 MB / 1.357 GB, free: 15.81 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3605, allocations: 0.6924 MB / 1.358 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.458e-05/0.3605, allocations: 12.66 kB / 1.358 GB, free: 15.08 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.3606, allocations: 23.44 kB / 1.358 GB, free: 15.05 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.3606, allocations: 0 / 1.358 GB, free: 15.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.3886, allocations: 2.345 MB / 1.36 GB, free: 12.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.416, allocations: 7.984 kB / 1.36 GB, free: 12.89 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_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_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2_res.csv. Warning: Get data of variable dp from file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv failed! Error: Could not read variable der(dp) in file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv. Warning: Get data of variable der(dp) from file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv failed! Error: Could not read variable der(dp_comp) in file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv. Warning: Get data of variable der(dp_comp) from file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.966039936058223]