Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001751/0.001751, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002243/0.002243, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.196/3.196, allocations: 0.49 GB / 0.7951 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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: 70.5 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3269, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002516/0.3294, allocations: 1.311 MB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3305, allocations: 0.6111 MB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.3306, allocations: 4 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.3306, allocations: 3.984 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.14e-05/0.3306, allocations: 3.938 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.3312, allocations: 144.9 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.115e-05/0.3313, allocations: 19.86 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.3313, allocations: 11.98 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.3314, allocations: 12 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.3314, allocations: 3.938 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.3314, allocations: 8 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005268/0.332, allocations: 343.3 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.332, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.332, allocations: 11.94 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.3323, allocations: 151.5 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3323, allocations: 7.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3323, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3323, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 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.0004093/0.3327, allocations: 282 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3327, allocations: 8.031 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.3328, allocations: 38.69 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.3328, allocations: 8.922 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.3329, allocations: 110.5 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3329, allocations: 8.375 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3329, allocations: 384 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.3331, allocations: 46.19 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3331, allocations: 3.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3331, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3331, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.049e-05/0.3331, allocations: 8 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.3333, allocations: 136.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.3335, allocations: 42.55 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.3335, allocations: 24.92 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3336, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3336, allocations: 30.56 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.3336, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0006099/0.3342, allocations: 229.2 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3342, allocations: 51.41 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.3343, allocations: 97.84 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3343, allocations: 29.7 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.3344, allocations: 80.14 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.3344, allocations: 23.8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.3345, allocations: 25.7 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3346, allocations: 310.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.3346, allocations: 12 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.3347, allocations: 19.92 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.3347, allocations: 36.94 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3347, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001125/0.3348, allocations: 69.61 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3349, allocations: 8 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3349, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3349, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.3349, allocations: 11.98 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3349, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.335, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.335, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 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.192e-05/0.335, allocations: 118.3 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.3351, allocations: 7.891 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.3352, allocations: 73.67 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3352, allocations: 4 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3352, allocations: 4 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3352, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.3355, allocations: 282.6 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3356, allocations: 4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.3356, allocations: 12 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3356, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.3356, allocations: 4 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.3356, allocations: 7.984 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3356, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.3358, allocations: 180.3 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.3359, allocations: 11.97 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3359, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.3359, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.336, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.336, allocations: 8 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.143e-05/0.336, allocations: 83.84 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.336, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002498/0.3363, allocations: 19.94 kB / 1.331 GB, free: 12.48 MB / 1.029 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.0005783/0.3368, allocations: 0.7365 MB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.337, allocations: 43.92 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.337, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/0.337, allocations: 12 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.3372, allocations: 7.5 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3386, allocations: 1.335 MB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.3389, allocations: 0.6807 MB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.3389, allocations: 4 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.339, allocations: 15.44 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.339, allocations: 0 / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.3687, allocations: 1.731 MB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.68, allocations: 11.67 kB / 1.335 GB, free: 7.938 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv. Warning: Get data of variable dp from file Buildings_12_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: 18.39162048000071]