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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0027/0.0027, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 225.6 MB / 249.4 MB, free: 3 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.89 kB / 1.107 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 168.7 MB / 1.272 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002431/1.006, allocations: 1.306 MB / 1.273 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001092/1.007, allocations: 0.6174 MB / 1.274 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/1.007, allocations: 4 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/1.007, allocations: 5.859 kB / 1.274 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.904e-05/1.007, allocations: 3.984 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/1.008, allocations: 153.2 kB / 1.274 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.593e-05/1.008, allocations: 28.5 kB / 1.274 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/1.008, allocations: 5.766 kB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.847e-05/1.008, allocations: 16.55 kB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/1.008, allocations: 12.41 kB / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/1.008, allocations: 9.625 kB / 1.274 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005169/1.008, allocations: 336.6 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/1.008, allocations: 6.344 kB / 1.274 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/1.008, allocations: 20.61 kB / 1.274 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/1.009, allocations: 151.9 kB / 1.275 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.009, allocations: 0 / 1.275 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/1.009, allocations: 0 / 1.275 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.009, allocations: 0.9062 kB / 1.275 GB, free: 6.5 MB / 0.9981 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.0004092/1.009, allocations: 372.2 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/1.009, allocations: 13 kB / 1.275 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/1.009, allocations: 6.828 kB / 1.275 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.376e-05/1.009, allocations: 166.2 kB / 1.275 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/1.009, allocations: 2.469 kB / 1.275 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/1.009, allocations: 3.219 kB / 1.275 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/1.009, allocations: 49.97 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.009, allocations: 192 / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/1.009, allocations: 6.484 kB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.009, allocations: 1.281 kB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/1.009, allocations: 19.95 kB / 1.275 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/1.01, allocations: 164.7 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/1.01, allocations: 62.91 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/1.01, allocations: 27.56 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/1.01, allocations: 1.594 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/1.01, allocations: 32.8 kB / 1.275 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/1.01, allocations: 3.938 kB / 1.275 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001082/1.011, allocations: 0.5948 MB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/1.011, allocations: 52.66 kB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.087e-05/1.011, allocations: 95.55 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/1.011, allocations: 30.64 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.593e-05/1.011, allocations: 84.98 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/1.011, allocations: 39.72 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/1.011, allocations: 32.91 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.412e-05/1.011, allocations: 317 kB / 1.277 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/1.011, allocations: 18.77 kB / 1.277 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/1.011, allocations: 28.89 kB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.446e-05/1.011, allocations: 50.27 kB / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/1.011, allocations: 0 / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001406/1.011, allocations: 104.4 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.011, allocations: 6.25 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/1.011, allocations: 4 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.011, allocations: 4.828 kB / 1.277 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/1.012, allocations: 24.78 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/1.012, allocations: 1.406 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/1.012, allocations: 5.031 kB / 1.277 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/1.012, allocations: 2.875 kB / 1.277 GB, free: 4.258 MB / 0.9981 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 5.624e-05/1.012, allocations: 116.8 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/1.012, allocations: 12.95 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/1.012, allocations: 107.6 kB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/1.012, allocations: 1.156 kB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.012, allocations: 1.219 kB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/1.012, allocations: 2.062 kB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/1.012, allocations: 342.2 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.012, allocations: 2.25 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/1.012, allocations: 23.11 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.012, allocations: 5.469 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.012, allocations: 5.25 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.012, allocations: 2.203 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.012, allocations: 0 / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/1.013, allocations: 220.9 kB / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/1.013, allocations: 78.05 kB / 1.278 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/1.013, allocations: 5.594 kB / 1.278 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/1.013, allocations: 1.281 kB / 1.278 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/1.013, allocations: 11.92 kB / 1.278 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/1.013, allocations: 7.031 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.039e-05/1.013, allocations: 85.06 kB / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.013, allocations: 0 / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002732/1.013, allocations: 37.69 kB / 1.278 GB, free: 3.355 MB / 0.9981 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.00021/1.013, allocations: 139.2 kB / 1.278 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001682/1.013, allocations: 63.8 kB / 1.278 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.013, allocations: 5 kB / 1.278 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/1.013, allocations: 36.42 kB / 1.278 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/1.014, allocations: 4.719 kB / 1.278 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/1.014, allocations: 301.1 kB / 1.278 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/1.014, allocations: 0.6869 MB / 1.279 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.491e-05/1.014, allocations: 12.08 kB / 1.279 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/1.014, allocations: 12.75 kB / 1.279 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.014, allocations: 1.062 kB / 1.279 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of Templates: time 0.003891/1.018, allocations: 0.9728 MB / 1.28 GB, free: 2.184 MB / 0.9981 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.285501866601408]