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.001735/0.001735, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.00206/0.00206, allocations: 192.8 kB / 22.17 MB, free: 5.656 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.429/1.429, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.967/2.967, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 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.002026/0.002026, allocations: 63.91 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7554/0.7574, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002553/0.76, allocations: 1.296 MB / 1.275 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.7612, allocations: 0.6266 MB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.7612, allocations: 0 / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.7612, allocations: 3.938 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.7613, allocations: 3.938 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.7618, allocations: 151.4 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.7619, allocations: 27.92 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.7619, allocations: 4 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.491e-05/0.762, allocations: 15.92 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.762, allocations: 15.92 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.762, allocations: 4 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005616/0.7626, allocations: 343.3 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.7626, allocations: 4 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.7627, allocations: 15.92 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.7629, allocations: 162.1 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.7629, allocations: 0 / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7629, allocations: 0 / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7629, allocations: 0 / 1.277 GB, free: 1.902 MB / 0.9669 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.00049/0.7634, allocations: 379 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.7635, allocations: 8.031 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.7635, allocations: 8.891 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.7636, allocations: 160.4 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.7637, allocations: 4.375 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.7637, allocations: 8.359 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.7638, allocations: 46.25 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.7638, allocations: 192 / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.7638, allocations: 11.94 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.7638, allocations: 7.984 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.748e-05/0.7639, allocations: 15.94 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.7641, allocations: 165.7 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.7642, allocations: 50.56 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.52e-05/0.7643, allocations: 28.84 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.7643, allocations: 7.938 kB / 1.278 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.7643, allocations: 38.56 kB / 1.278 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.7643, allocations: 0 / 1.278 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001178/0.7655, allocations: 0.5878 MB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.7655, allocations: 51.41 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/0.7656, allocations: 101.9 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.7657, allocations: 25.7 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.7657, allocations: 88.08 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.7658, allocations: 43.67 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.7658, allocations: 29.7 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7659, allocations: 310.8 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.766, allocations: 23.98 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.103e-05/0.7661, allocations: 19.98 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.7662, allocations: 64.98 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.7662, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001632/0.7663, allocations: 104 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.7663, allocations: 4 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7663, allocations: 3.984 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.7664, allocations: 4 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.7665, allocations: 16 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.7665, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.434e-05/0.7665, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.7665, allocations: 8 kB / 1.279 GB, free: 15.2 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.829e-05/0.7666, allocations: 125.8 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.7666, allocations: 11.89 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.7668, allocations: 105.6 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.7668, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.7668, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7669, allocations: 4 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.7673, allocations: 346.5 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.7673, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.7674, allocations: 27.98 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7674, allocations: 96 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.7674, allocations: 7.938 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7674, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7674, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.7677, allocations: 231.3 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.7678, allocations: 77.11 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.7678, allocations: 4.031 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.7679, allocations: 4.062 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.7679, allocations: 11.98 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.7679, allocations: 4 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.768, allocations: 75.28 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.768, allocations: 0 / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002835/0.7683, allocations: 35.88 kB / 1.28 GB, free: 14.05 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.0002328/0.7685, allocations: 147.5 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.7686, allocations: 67.88 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7686, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.388e-05/0.7687, allocations: 31.94 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.7689, allocations: 12.64 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.7695, allocations: 286.1 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.77, allocations: 0.6885 MB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.24e-05/0.77, allocations: 7.938 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.77, allocations: 19.44 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.77, allocations: 0 / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.003788/0.7738, allocations: 0.9846 MB / 1.282 GB, free: 11.79 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.702762310858816]