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.001219/0.001219, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.001355/0.001355, allocations: 209.8 kB / 22.24 MB, free: 4.875 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.343/1.343, allocations: 230.6 MB / 256 MB, free: 7.777 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.074/3.074, allocations: 0.5107 GB / 0.8158 GB, free: 17.94 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_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.00196/0.00196, allocations: 71.62 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3176, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002729/0.3204, allocations: 1.305 MB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3214, allocations: 0.541 MB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.3214, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.3214, allocations: 3.938 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.3215, allocations: 7.984 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.3221, allocations: 145.6 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.464e-05/0.3222, allocations: 19.94 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.3222, allocations: 7.938 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.093e-05/0.3223, allocations: 15.92 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.3223, allocations: 7.984 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.3223, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004631/0.3228, allocations: 267.5 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.3228, allocations: 7.984 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.3228, allocations: 11.94 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.3231, allocations: 139.8 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3231, allocations: 0 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3231, allocations: 0 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3231, allocations: 4 kB / 1.366 GB, free: 11.64 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.000437/0.3236, allocations: 282 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3236, allocations: 8.031 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.009e-05/0.3236, allocations: 30.75 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.3237, allocations: 8.891 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.738e-05/0.3238, allocations: 110.4 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.3238, allocations: 12.38 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.3238, allocations: 384 / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.3239, allocations: 67.95 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3239, allocations: 3.938 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.3239, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3239, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.943e-05/0.324, allocations: 15.92 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.3241, allocations: 128.8 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.3243, allocations: 42.55 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.3244, allocations: 16.86 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.3244, allocations: 4 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3244, allocations: 38.5 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3244, allocations: 0 / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0005598/0.325, allocations: 237.2 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.325, allocations: 51.41 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.3251, allocations: 97.86 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3251, allocations: 29.7 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.3251, allocations: 80.14 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3252, allocations: 23.78 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.3252, allocations: 21.72 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3253, allocations: 314.8 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.3254, allocations: 15.98 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.3254, allocations: 8 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.673e-05/0.3254, allocations: 29.02 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3254, allocations: 0 / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000112/0.3255, allocations: 81.5 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3256, allocations: 4 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3256, allocations: 4 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3256, allocations: 0 / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.419e-05/0.3256, allocations: 11.98 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3256, allocations: 64 / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.3256, allocations: 8 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.3257, allocations: 4 kB / 1.368 GB, free: 9.652 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.817e-05/0.3257, allocations: 113.8 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.3257, allocations: 3.938 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.3259, allocations: 77.61 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3259, allocations: 4 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3259, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3259, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.3262, allocations: 286.4 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3262, allocations: 32 / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.3263, allocations: 16 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3263, allocations: 0 / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3263, allocations: 4 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3263, allocations: 0 / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3263, allocations: 4 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.3265, allocations: 184.2 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.3265, allocations: 7.969 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3265, allocations: 3.984 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.3266, allocations: 4 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.3266, allocations: 0 / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3266, allocations: 12.06 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.557e-05/0.3267, allocations: 83.78 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3267, allocations: 0 / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002361/0.3269, allocations: 15.94 kB / 1.368 GB, free: 8.75 MB / 1.061 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.0005517/0.3275, allocations: 0.7445 MB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.3276, allocations: 28 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3276, allocations: 0 / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.797e-05/0.3276, allocations: 15.92 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.3278, allocations: 8.125 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3291, allocations: 1.32 MB / 1.37 GB, free: 6.523 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.025e-05/0.3291, allocations: 67.34 kB / 1.37 GB, free: 6.438 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.3292, allocations: 8 kB / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.3292, allocations: 15.44 kB / 1.37 GB, free: 6.418 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.3292, allocations: 0 / 1.37 GB, free: 6.418 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.3581, allocations: 2.113 MB / 1.373 GB, free: 4.477 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.77, allocations: 15.92 kB / 1.373 GB, free: 4.461 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.00480052595958]