Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001885/0.001885, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002368/0.002368, allocations: 215.8 kB / 22.24 MB, free: 5.246 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.578/1.578, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.904/2.904, allocations: 475.9 MB / 0.7699 GB, free: 4.801 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [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.002297/0.002297, allocations: 66.88 kB / 1.117 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3986, allocations: 170 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002892/0.4015, allocations: 1.307 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.4028, allocations: 0.5506 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.4028, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.4028, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.004e-05/0.4029, allocations: 3.938 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.4035, allocations: 159.4 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.109e-05/0.4036, allocations: 23.92 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/0.4037, allocations: 4 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.4037, allocations: 8 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.4038, allocations: 11.92 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.4038, allocations: 4 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004786/0.4043, allocations: 271.4 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.4043, allocations: 11.94 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.4043, allocations: 15.97 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.4046, allocations: 147.5 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4046, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.514e-06/0.4046, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.4047, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005635/0.4052, allocations: 293.9 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4053, allocations: 12.03 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.4053, allocations: 4.938 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.4054, allocations: 118.4 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.4055, allocations: 384 / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.4055, allocations: 4.375 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.4057, allocations: 105.6 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4057, allocations: 4.188 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.4057, allocations: 3.938 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4057, allocations: 3.984 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.001e-05/0.4058, allocations: 23.97 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.406, allocations: 113.3 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.4061, allocations: 62.48 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.4062, allocations: 24.86 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4062, allocations: 0 / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.4062, allocations: 34.56 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.4062, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001255/0.4075, allocations: 455.8 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.4075, allocations: 55.41 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.4076, allocations: 93.84 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.4076, allocations: 33.7 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.4077, allocations: 80.14 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.4077, allocations: 39.64 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.4078, allocations: 25.94 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.408, allocations: 330.8 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/0.408, allocations: 19.94 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.597e-05/0.4081, allocations: 27.98 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.887e-05/0.4082, allocations: 50.73 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4082, allocations: 0 / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001601/0.4083, allocations: 93.67 kB / 1.287 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4083, allocations: 11.94 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4083, allocations: 0 / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4084, allocations: 0 / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.4085, allocations: 27.92 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4085, allocations: 4 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.4085, allocations: 7.938 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.4085, allocations: 4 kB / 1.288 GB, free: 7.031 MB / 0.9825 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 9.85e-05/0.4086, allocations: 109.8 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.4087, allocations: 11.89 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.4089, allocations: 105.7 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4089, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.4089, allocations: 4 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4089, allocations: 0 / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.4094, allocations: 294.1 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4094, allocations: 4 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.4095, allocations: 27.92 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4095, allocations: 0 / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4095, allocations: 4 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4095, allocations: 4 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4095, allocations: 0 / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.4099, allocations: 221 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.4099, allocations: 7.984 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.4099, allocations: 0 / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.41, allocations: 4 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.41, allocations: 7.984 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.41, allocations: 8.062 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.4101, allocations: 79.28 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4101, allocations: 0 / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002969/0.4104, allocations: 39.86 kB / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002586/0.4106, allocations: 135 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.4108, allocations: 56.08 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4108, allocations: 3.938 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.806e-05/0.4109, allocations: 39.86 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.4111, allocations: 16.03 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.4117, allocations: 277.2 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.811e-05/0.4118, allocations: 67.34 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.369e-05/0.4119, allocations: 19.92 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.4119, allocations: 11.44 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.4119, allocations: 0 / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of Templates: time 0.004048/0.4159, allocations: 0.9372 MB / 1.29 GB, free: 4.488 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,m_flow,m_flow_comp,m_flow_turbulent,der(m_flow),der(m_flow_comp),err_m_flow,err_der_m_flow Variables in the result:der(m_flow),der(m_flow_comp),err_der_m_flow,err_m_flow,k,m_flow,m_flow_comp,m_flow_turbulent,time [Calling sys.exit(0), Time elapsed: 9.585609648376703]