Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002027/0.002027, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001733/0.001733, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.372/1.372, allocations: 230.6 MB / 256 MB, free: 7.793 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.025/3.025, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_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_latest_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.001886/0.001886, allocations: 66.66 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3036, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002367/0.3059, allocations: 1.286 MB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.3069, allocations: 0.5449 MB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.3069, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.307, allocations: 7.922 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.638e-05/0.307, allocations: 0 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.3075, allocations: 147.4 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.998e-05/0.3076, allocations: 19.92 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.3076, allocations: 11.92 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.3077, allocations: 11.94 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.635e-05/0.3077, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.3077, allocations: 4 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.3081, allocations: 275.4 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.3081, allocations: 0 / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.3082, allocations: 11.94 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.3084, allocations: 135.9 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3084, allocations: 4 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3084, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3084, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 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.000391/0.3088, allocations: 286 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3088, allocations: 8.031 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.3089, allocations: 34.75 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.3089, allocations: 8.891 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.309, allocations: 114.5 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.309, allocations: 8.375 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.309, allocations: 384 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.3091, allocations: 67.95 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3091, allocations: 3.938 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.3092, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3092, allocations: 3.984 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.117e-05/0.3092, allocations: 15.94 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.3094, allocations: 124.8 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.3095, allocations: 42.56 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.3096, allocations: 16.86 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.3096, allocations: 4 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.3096, allocations: 38.5 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3096, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0005397/0.3101, allocations: 229.2 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3102, allocations: 59.34 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.3102, allocations: 93.86 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3103, allocations: 29.7 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.3103, allocations: 80.14 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3103, allocations: 23.78 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.3104, allocations: 17.72 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3105, allocations: 322.8 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.3105, allocations: 12 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.3105, allocations: 8 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.3106, allocations: 36.83 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3106, allocations: 7.938 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001078/0.3107, allocations: 65.53 kB / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3107, allocations: 11.98 kB / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3107, allocations: 0 / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3107, allocations: 0 / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.3108, allocations: 8 kB / 1.367 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3108, allocations: 0 / 1.367 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.3108, allocations: 12 kB / 1.367 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.3108, allocations: 0 / 1.367 GB, free: 9.605 MB / 1.061 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.471e-05/0.3109, allocations: 110.9 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.3109, allocations: 7.938 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.311, allocations: 78.02 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.311, allocations: 4 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3111, allocations: 4 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3111, allocations: 0 / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.3114, allocations: 278.5 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3114, allocations: 3.938 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.3114, allocations: 16.03 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3114, allocations: 0 / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3114, allocations: 0 / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3114, allocations: 4 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3114, allocations: 4.5 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.3116, allocations: 180.3 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.3117, allocations: 11.92 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3117, allocations: 4 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.3117, allocations: 0 / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.3118, allocations: 7.922 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3118, allocations: 8.062 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.071e-05/0.3118, allocations: 87.27 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3118, allocations: 0 / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002318/0.312, allocations: 15.94 kB / 1.368 GB, free: 8.699 MB / 1.061 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.0005242/0.3126, allocations: 0.7433 MB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.3127, allocations: 31.92 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3127, allocations: 0 / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.988e-05/0.3127, allocations: 19.94 kB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.3129, allocations: 0 / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3141, allocations: 1.324 MB / 1.37 GB, free: 6.473 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.3142, allocations: 63.34 kB / 1.37 GB, free: 6.391 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.822e-05/0.3142, allocations: 8.203 kB / 1.37 GB, free: 6.383 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.3143, allocations: 15.44 kB / 1.37 GB, free: 6.371 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.3143, allocations: 0 / 1.37 GB, free: 6.371 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.3429, allocations: 2.091 MB / 1.372 GB, free: 4.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.63, allocations: 7.922 kB / 1.372 GB, free: 4.434 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv. Warning: Get data of variable m_flow from file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.83500773878768]